@littlespoon/button
v1.8.0
Published
Little Spoon button
Downloads
1,024
Readme
@littlespoon/button
Install
Yarn:
yarn add @littlespoon/button
npm:
npm install @littlespoon/button --save
Usage
Import component:
import Button from '@littlespoon/button'
Render button:
<Button>Text</Button>
Render button with props:
<Button size="medium" variant="primary">
This is a button
</Button>
Render button as a link:
<Button as="a" href="#">
This is a link
</Button>