1.2.1 • Published 4 years ago
@mimic-design/toy v1.2.1
toy
an unopinionated design system
Install
npm install --save toy
Usage
import React, { Component } from "react";
import MyComponent from "toy";
class Example extends Component {
render() {
return (
<div>
<ExampleComponent text="Modern React component module" />
<Button
text="Hello"
background="papayawhip"
color="palevioletred"
square
/>
<Button text="Goodbye" variant="primary" />
<Button text="Submit" variant="outline-danger" rounded />
</div>
);
}
}
License
MIT © mimic-design