Photon components built with React.
Photon components built with React.
@frostney Add me to the developer of react-photon
.
npm i -S react-photon
install babel-plugin-import
npm i -D babel-plugin-import
.babelrc
{
"presets": ["@babel/preset-env", "@babel/react"],
"plugins": [
// ....
[ "import", { "libraryName": "react-photon", "libraryDirectory": "dist/lib" } ]
]
}