@ricardo-jrm/fury
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

🔥 @ricardo-jrm/fury

React Web UI

build license

author

lang version




Install

npm install @ricardo-jrm/fury

yarn add @ricardo-jrm/fury

Scripts

// install deps
yarn install

// run lint
yarn lint

// run unit tests
yarn test

// run storybook
yarn sb

Project


Usage

import { useFury, FuryProvider, FuryRecord } from '@ricardo-jrm/fury';

// provider
const exampleFury: FuryRecord = {
  fury1: {
    typography: {
      h1: {
        fontSize: '100px',
        color: 'red',
      },
    },
  },
  fury2: {
    typography: {
      h1: {
        fontSize: '75px',
        color: 'green',
      },
    },
  },
};

<FuryProvider fury={exampleFury} furyDefault="fury1">
  {...}
</FuryProvider>


// hook
const { furyActive, furyActiveId, furySetById } = useFury();

Project Dependencies


Dev Dependencies

  • Yarn
  • Typescript
  • React
  • Material-UI
  • Prettier
  • ESLint
  • Commit Lint
  • Lint Staged
  • Husky
  • Jest
  • Semantic Release



License

MIT © Ricardo <l1b3r_-> Mota (@ricardo-jrm)

Bootstrapped with 🟣@ricardo-jrm/supernova


Package Sidebar

Install

npm i @ricardo-jrm/fury

Weekly Downloads

0

Version

4.0.0

License

MIT

Unpacked Size

27.7 kB

Total Files

37

Last publish

Collaborators

  • ricardo-jrm