Button

Buttons are used for interface actions generally to submit data or take action. The default look of the button is all red with font's color white. To add action to the button component use the onClick props.

Preview

<Button variant='primary'> This is Button </Button> 
NameParamsDescription
VariantPrimary, Seconday, TextThere are 3 variant type of Button that distinguishes the style of the button
DisabledWhen adding props 'Disabled', the Button component will be unable to be clicked
styleConfigWhen adding props 'styleConfig', some of the button style's aspect can be configured such as margin, padding, and width
hide