IconNavButton component
A component that uses an icon as a button
Install
npm i @wethecurious/wtc-ui-library
Usage
Import it into your project
import { IconNavButton } from '@wethecurious/wtc-ui-library'
Prop
<IconNavButton icon={IconType.Add} />
IconNavButton
Prop | Description | Default |
---|---|---|
icon | Defines the icon used for the button | |
isInverse | Sets inverse colour scheme | |
padding | Sets the padding of the IconNavButton | |
size | Defines the IconNavButton size |