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/furyUsage
import { useFury, FuryProvider, FuryRecord } from '@ricardo-jrm/fury';
// app
const exampleFury: FuryRecord = {
fury1: {
typography: {
h1: {
fontSize: '100px',
color: 'red',
},
},
},
fury2: {
typography: {
h1: {
fontSize: '75px',
color: 'green',
},
},
},
};
<FuryProvider fury={exampleFury} furyDefault="fury1">
{...}
</FuryProvider>
// component
const { furyActive, furyActiveId, furySetById } = useFury();License
MIT © Ricardo <l1b3r_-> Mota (@ricardo-jrm)
Bootstrapped with 🟣@ricardo-jrm/supernova