1.2.1 • Published 4 years ago

@mimic-design/toy v1.2.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

toy

an unopinionated design system

NPM JavaScript Style Guide

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