Voinext button component for React
This library provides Voinext button component for React.
Follow the next steps to add Voinext button to your React application.
-
Install peer dependencies:
- via
npm
:
npm install react react-dom prop-types redux react-redux fingerprintjs2 immutable redux-thunk uribuilder
- via
yarn
:
yarn add react react-dom prop-types redux react-redux fingerprintjs2 immutable redux-thunk uribuilder
- via
-
Install component:
- via
npm
:
npm install voinext-button-components
- via
yarn
:
yarn add voinext-button-components
- via
-
Import component library:
-
Use your button:
;{return<div className="App"><VoinextButton buttonId=123456/></div>;}You can get the
buttonId
property in your Voinext Dashboard