- Simply install the package using
npm install facebuttons
- In you component file, you need to import the
Loader
component
import {NeuroButton} from 'facebuttons';
function App() {
const handleClick = () => {
console.log('Click');
};
return (
<div>
<NeuroButton width="20" padding="40" onClick={handleClick} />
</div>
);
}
export default App;
- If you face any issue, use github issues for that