0.0.5 • Published 1 year ago
storybook-button-component v0.0.5
button-component
Install via npm:
npm install storybook-button-component
Basic usage example:
import { Button } from 'storybook-button-component';
function App() {
return (
<Button label="Click me!"/>
);
}
Styling overriding with your own css rules using "theme" property:
<Button
label="Click me!"
theme={{
color: 'white',
backgroundColor: '#4169E1',
borderRadius: '8px'
}}
/>