React Monolab Documentation
Powered by Storybook
📦 Installation
Run the following command:
npm install --save react-mono
🔨 Usage
import { Button, DatePicker } from "react-mono";
const App = () => (
<>
<Button type="primary">PRESS ME</Button>
<DatePicker />
</>
);
🔗 Links
Develop components with Storybook
npm run storybook
Open http://localhost:9009/ in your favorite web browser.
Then import your component(s) into _stories/index.js and render them like so:
storiesOf("Some component name", module)
.add("Default", () => (
<ComponentName />
))
.add("Some variation", () => (
<ComponentName prop="value" />
));