Photon components built with React

react-photon

Photon components built with React.

thanks to

@frostney Add me to the developer of react-photon.

preview

installation

npm i -S react-photon

dynamic import

  1. install babel-plugin-import

    npm i -D babel-plugin-import
    
  2. .babelrc

{
  "presets": ["@babel/preset-env", "@babel/react"],
  "plugins": [
    // ....
    [ "import", { "libraryName": "react-photon", "libraryDirectory": "dist/lib" } ]
  ]
}

resources

Download Details:

Author: afeiship

Official Website: https://github.com/afeiship/react-photon

#reactjs #javascript

Photon components built with React
1.35 GEEK