UNPKG

@tabula/use-size

Version:

Watches the DOM element's size with ResizeObserver

49 lines 1.11 kB
{ "name": "@tabula/use-size", "version": "0.2.2", "description": "Watches the DOM element's size with ResizeObserver", "type": "module", "typings": "./typings/index.d.ts", "exports": { ".": { "types": "./typings/index.d.ts", "module": "./lib/index.js", "import": "./lib/index.js", "default": "./lib/index.js" }, "./package.json": "./package.json" }, "sideEffects": false, "keywords": [ "tabula.io", "tomat.ai", "ui-kit", "hook", "react" ], "homepage": "https://github.com/ReTable/ui-kit/tree/main/hooks/use-size#readme", "bugs": { "url": "https://github.com/ReTable/ui-kit/issues" }, "repository": { "type": "git", "url": "https://github.com/ReTable/ui-kit.git", "directory": "hooks/use-size" }, "author": "Retable Inc.", "license": "ISC", "files": [ "lib", "typings" ], "peerDependencies": { "react": "^18.3.1" }, "scripts": { "build": "forge", "build:docs": "forge --storybook", "build:watch": "forge --watch", "lint": "eslint .", "test": "vitest run" } }