Package Exports
- react-classnaming
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 (react-classnaming) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-classnaming
Easy applied function to use with CSS modules and do not get lost in CSS classes
Installation
npm install --save react-classnamingBasic usage
import classNaming from "react-classnaming"
<div {...classNaming("class1", {class2, class3})}>
<div className={classNaming<string>({class4})}>Usage
See more at ./demo/src/