voinext-button-components

1.0.4 • Public • Published

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.

  1. 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
    
  2. Install component:

    • via npm :
    npm install voinext-button-components
    
    • via yarn:
    yarn add voinext-button-components
    
  3. Import component library:

    import VoinextButton from 'voinext-button-components'
  4. Use your button:

    import React, {Component} from 'react';
    import VoinextButton from 'voinext-button-components'
    
    class App extends Component {
        render() {
            return (
                <div className="App">    
                    <VoinextButton buttonId={123456}/>    
                </div>
            );
        }
    }

    You can get the buttonId property in your Voinext Dashboard

Package Sidebar

Install

npm i voinext-button-components

Homepage

voinext.com/

Weekly Downloads

0

Version

1.0.4

License

AGPL-3.0-only

Unpacked Size

56.3 kB

Total Files

34

Last publish

Collaborators

  • dskop