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
Install
npm install @ricardo-jrm/fury
yarn add @ricardo-jrm/furyScripts
// install deps
yarn install
// run lint
yarn lint
// run unit tests
yarn test
// run storybook
yarn sbProject
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
- TS Package Boilerplate: 🟪 @ricardo-jrm/nova
- React Module Boilerplate: 🟣 @ricardo-jrm/supernova
- React Utility Hooks: 🌘 @ricardo-jrm/reaper
- React UI Components and Themes: 🔥 @ricardo-jrm/fury
- React Meta Data Handler: ⚫ @ricardo-jrm/pain
- React API Client: 🌸 @ricardo-jrm/empathy
- React Lightweight Intl: ☁ @ricardo-jrm/echo
Dev Dependencies
YarnTypescriptReactMaterial-UIPrettierESLintCommit LintLint StagedHuskyJestSemantic Release
License
MIT © Ricardo <l1b3r_-> Mota (@ricardo-jrm)
Bootstrapped with 🟣@ricardo-jrm/supernova