UNPKG

@mapbox/react-click-to-select

Version:

a higher-order component that selects elements contained within it on click

46 lines (45 loc) 1.02 kB
{ "name": "@mapbox/react-click-to-select", "version": "2.2.1", "description": "a higher-order component that selects elements contained within it on click", "files": [ "dist" ], "main": "dist/index.js", "scripts": { "prepare": "npm run build", "build": "rm -rf dist && babel src -d dist" }, "keywords": [ "react", "react-component", "component", "select", "text" ], "author": "Mapbox", "license": "ISC", "peerDependencies": { "prop-types": "^15.5.0 || ^16.0.0", "react": "0.13.x || 0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0" }, "babel": { "presets": [ "react", "es2015" ], "plugins": [ "transform-class-properties" ] }, "repository": { "type": "git", "url": "git@github.com:mapbox/react-click-to-select.git" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1" } }