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
// app
import { FuryProvider, FuryThemes, useFury } from '@ricardo-jrm/fury';
const exampleThemes: FuryThemes = {
theme1: {
typography: {
body1: {
fontSize: '100px',
color: 'red',
},
},
},
theme2: {
typography: {
body1: {
fontSize: '75px',
color: 'green',
},
},
},
};
<FuryProvider
themes={exampleThemes}
themesDefault="theme1"
>
{...}
</FuryProvider>
// component
const { themeActive, themeSetById } = useFury();License
MIT © Ricardo <l1b3r_-> Mota (@ricardo-jrm)
Bootstrapped with 🟣@ricardo-jrm/supernova