react-hover-fill-button
Version:
React button with a fill animation on hover
11 lines • 335 B
JavaScript
import React from 'react';
import { render } from 'react-dom';
import Button from '../../src';
const App = () => (
<Button onClick={() => alert("Ciaone")}
borderWidth="10px"
className="button-bello"
fillBackground="rebeccapurple"
fillTextColor="red">Ciao</Button>
);
render(<App />, document.getElementById("root"));