Button - MukeshKumar101/IPL_Auction GitHub Wiki

Problem Statement:

To create a button component.

Jobs To Be Done:

  • To create a button component which can be used wherever it is in need.
  • The Button Component should be generic.

Implementation Plan:

  • Create a folder and name it as Button for maintaining the component.
  • Create a js file and name it as Button.js for creating button component.
  • Create props which consists of id, name(button-name), class(css styles), onClick(event-function), isPrimary.
  • Create a prototype for button component.