README
geometory.tsx
Installation
npm add @1amageek/geometory
Usage
const Component = () => {
const [ref, size] = useSize<HTMLDivElement>()
return (
<div ref={ref}>
</div>
)
}
Hooks to get Geometory in React
<script type="module">
import 1amageekGeometory from 'https://cdn.skypack.dev/@1amageek/geometory';
</script>
npm add @1amageek/geometory
const Component = () => {
const [ref, size] = useSize<HTMLDivElement>()
return (
<div ref={ref}>
</div>
)
}