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

5.0.1 • Public • Published

🔥 @ricardojrmcom/fury

React Web UI

build license

author

lang version




Install

npm install @ricardojrmcom/fury

yarn add @ricardojrmcom/fury

Usage

import { useFury, FuryProvider, FuryRecord } from '@ricardojrmcom/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();

Scripts

// install deps
yarn install

// run lint
yarn lint

// run unit tests
yarn test

// run storybook
yarn sb

Project


Project Dependencies


Dev Dependencies

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



License

MIT © Ricardo <l1b3r_-> Mota (@ricardojrmcom)

Bootstrapped with 🟣@ricardojrmcom/supernova


/@ricardojrmcom/fury/

    Package Sidebar

    Install

    npm i @ricardojrmcom/fury

    Weekly Downloads

    0

    Version

    5.0.1

    License

    MIT

    Unpacked Size

    27.4 kB

    Total Files

    37

    Last publish

    Collaborators

    • ricardojrmcom