Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 650 Bytes

README.md

File metadata and controls

51 lines (33 loc) · 650 Bytes

UI component library for Truffles

Usage

  • Install package

    npm install @trufflesone/truffles-ui
    
    or
    
    yarn add @trufflesone/truffles-ui
    
    or
    
    pnpm add @trufflesone/truffles-ui
  • Use it like this

    import { Button } from "@trufflesone/truffles-ui";
    
    const App = () => {
      return <Button>Click Me</Button>;
    };
    
    export default App;

Development

  • Clone the repo.

  • Install deps.

    npm i
  • Modify components in src/components folder.

  • View components on storybook.

    npm run sb
  • Bundle components with rollup.

    npm run build