JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q27878F
  • License MIT

React Web UI

Package Exports

  • @ricardo-jrm/fury
  • @ricardo-jrm/fury/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ricardo-jrm/fury) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

🔥 @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