@celadora/periodic-table
v0.1.32
Published
Periodic Table of Elements
Downloads
37
Readme
Periodic Table of Elements
Install
npm install @celadora/periodic-table
Usage
import PeriodicTable, { OnClick } from '@celadora/periodic-table';
function App() {
const handleClick: OnClick = (e, element) => {
console.log(element);
}
return (
<PeriodicTable onClick={handleClick} squareSize={55} margin={2} />
)
}