react-higgs-themr
v1.0.3
Published
A themr builder for react-higgs
Downloads
6
Maintainers
Readme
React Higgs Themr
Install
npm install react-higgs-themr
or yarn add react-higgs-themr
About
This NPM package is forked from react-higgs-themr at commit #2ee99. See more details at JIRA
List of components
"APP_BAR",
"AUTOCOMPLETE",
"AVATAR",
"BREADCRUMB",
"BUTTON",
"CARD",
"CHIP",
"CHECKBOX",
"DATE_PICKER",
"DIALOG",
"DRAWER",
"DROPDOWN",
"EXPANSION",
"GRID",
"ICON",
"INPUT",
"LAYOUT",
"LINK",
"LIST",
"MENU",
"NAVIGATION",
"OVERLAY",
"PAGINATION",
"PROGRESS_BAR",
"RADIO",
"RIPPLE",
"SLIDER",
"SNACKBAR",
"SWITCH",
"TABLE",
"TABS",
"TOOLTIP",
"TIME_PICKER",
"TYPOGRAPHY",
Step to add new component
- Add new component identifiers to
src/constants.js
, eg.BREADCRUMB
- Find new component dependencies, add all to
src/getDependencies.js
, eg.BREADCRUMB: [ 'MENU' ]
- Add theme.css path for new component to
src/getPath.js
, eg.BREADCRUMB: '/breadcrumb/theme.css'
- Build and release new version.
Migrate from react-toolbox-themr
- Update
react-higgs
to latest version. - Uninstall react-toolbox-themr,
npm uninstall react-toolbox-themr
- Install new react react-higgs-themr,
npm install react-higgs-themr
- Update project package.json
"scripts": {
- "toolbox": "react-toolbox-themr"
+ "toolbox": "react-higgs-themr"
},
"reactToolbox": {
"include": [
+ "GRID",
+ "EXPANSION",
+ "PAGINATION"
]
}
- Re-run
npm run toolbox
, all set!