1.5.0 • Published 7 months ago

@trufflesone/truffles-ui v1.5.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

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