0.1.9 • Published 5 years ago

liquid-button v0.1.9

Weekly downloads
30
License
MIT
Repository
github
Last release
5 years ago

Demo - https://rajesh-royal.github.io/liquid-button/build/

TO use the LIquid button in your project - 1. - npm install liquid-button 2. - Then Import liquid-button in your react project

`import LiquidButton from 'LiquidButton/src/LiquidButton'` if generate error then copy the LiquidButton.js file from the node_moudle folder and paste inside your src folder and import as `import LiquidButton from './LiquidButton' `
    • use <LiquidButton class="your-class-name-here" name="FirstButton" background="black" firstcolor="#1e88e5" secondcolor="yellow" /> -------- put your desired colors -----

      You should have different class name each time you are using the component like -

      ReactDOM.render(<div> <LiquidButton class="liquid-button" name="FirstButton" background="black" firstcolor="#1e88e5" secondcolor="yellow" /> <LiquidButton class="liquid-button2" name="FirstButton" background="black" firstcolor="#1e88e5" secondcolor="yellow" /> </div>, document.getElementById('root'));

      see the above example it will show 2 buttons if you want to use more than your class name should be different each time.

      Now you can use more than one liquid-buttons on same page.

      Feel free to contribute on github - ( https://github.com/Rajesh-Royal/liquid-button )

This project was bootstrapped with Create React App.

License: MIT
0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago