@1amageek/geometory

Hooks to get Geometory in React

Usage no npm install needed!

<script type="module">
  import 1amageekGeometory from 'https://cdn.skypack.dev/@1amageek/geometory';
</script>

README

geometory.tsx

Installation

npm add @1amageek/geometory.tsx

Usage


const Component = () => {
  const [ref, size] = useSize<HTMLDivElement>()
  
  return (
    <div ref={ref}>
    
    </div>
  )
}