UNPKG

react-emoji-toggle-button

Version:

A flexible and reusable React package to use an emoji picker and connect it with a text input using Ref. Toggle emoji button for React apps.

85 lines (84 loc) 2.53 kB
{ "homepage": "https://mahmoud-walid.github.io/react-emoji-toggle-button/", "repository": { "type": "git", "url": "https://github.com/Mahmoud-walid/react-emoji-toggle-button.git" }, "readme": "./README.md", "bugs": { "url": "https://github.com/Mahmoud-walid/react-emoji-toggle-button/issues" }, "name": "react-emoji-toggle-button", "private": false, "publishConfig": { "access": "public" }, "version": "1.0.4", "type": "module", "main": "build/index.cjs", "module": "build/index.mjs", "types": "build/index.d.ts", "files": [ "build" ], "exports": { ".": { "import": "./build/index.mjs", "require": "./build/index.cjs", "types": "./build/index.d.ts" } }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "license": "MIT", "scripts": { "dev": "vite", "build": "tsc -p tsconfig.build.json && vite build", "demo": "vite --config example/vite.config.demo.ts", "demo:build": "vite build --config example/vite.config.demo.ts", "deploy": "npm run demo:build && git subtree push --prefix docs origin gh-pages", "prepublishOnly": "npm run build && npm pack --dry-run", "release": "npm run build && npm version patch && npm publish --access public", "publishPublic": "npm run build && npm publish --access public", "lint": "eslint .", "preview": "vite preview" }, "dependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0", "react-window": "^1.8.11", "vite-plugin-dts": "^4.5.3" }, "devDependencies": { "@eslint/js": "^9.25.0", "@types/react": "^19.1.2", "@types/react-dom": "^19.1.2", "@types/react-window": "^1.8.8", "@vitejs/plugin-react": "^4.4.1", "eslint": "^9.25.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.19", "globals": "^16.0.0", "typescript": "~5.8.3", "typescript-eslint": "^8.30.1", "vite": "^6.3.5" }, "description": "A flexible and reusable React package to use an emoji picker and connect it with a text input using Ref. Toggle emoji button for React apps.", "author": { "name": "Mahmoud Walid", "email": "modywmbadr@gmail.com", "url": "https://github.com/Mahmoud-walid/" }, "keywords": [ "react", "emoji", "picker", "input", "component", "toggle", "btn", "button" ] }