Props
Name | Type | Default | Description |
---|
children | string | | Text content. |
variant | string | primary | Button type. |
Usage
<Button>I am a button</Button>
Variant - Secondary
<Button variant='secondary'>I am a secondary button</Button>
With Icon
<Button variant='secondary' icon='faThumbsUp'>
This is a secondary button
</Button>
Disabled
<Button variant='primary' icon='faThumbsUp' disabled={true}>
This is a disabled button
</Button>