All Downloads are FREE. Search and download functionalities are using the official Maven repository.

assets.node_modules.react-dropzone.package.json Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
{
  "name": "react-dropzone",
  "version": "1.0.1",
  "description": "Simple HTML5 drag-drop zone in React",
  "main": "index.js",
  "keywords": [
    "react-component",
    "react",
    "drag",
    "drop",
    "upload"
  ],
  "browserify": {
    "transform": [
      [
        "reactify",
        {
          "harmony": true
        }
      ]
    ]
  },
  "repository": {
    "type": "git",
    "url": "[email protected]:paramaggarwal/react-dropzone.git"
  },
  "bugs": {
    "url": "https://github.com/paramaggarwal/react-dropzone/issues"
  },
  "homepage": "https://github.com/paramaggarwal/react-dropzone",
  "author": {
    "name": "Param Aggarwal"
  },
  "license": "MIT",
  "readme": "react-dropzone\n=================\n\nSimple HTML5 drag-drop zone in React.js.\n\n[![Screenshot of Dropzone](https://raw.githubusercontent.com/paramaggarwal/react-dropzone/master/screenshot.png)](http://paramaggarwal.github.io/react-dropzone/)\n\nDemo: http://paramaggarwal.github.io/react-dropzone/\nUsage\n=====\n\nSimply `require('react-dropzone')` and specify an `onDrop` method that accepts an array of dropped files. You can customize the content of the Dropzone by specifying children to the component.\n\nYou can also specify a `style` object to apply to the `Dropzone` component. Optionally pass in a `size` property to configure the size of the Dropzone.\n\n```jsx\n\n/** @jsx React.DOM */\nvar React = require('react');\nvar Dropzone = require('react-dropzone');\n\nvar DropzoneDemo = React.createClass({\n    onDrop: function (files) {\n      console.log('Received files: ', files);\n    },\n\n    render: function () {\n      return (\n          
\n \n
Try dropping some files here, or click to select files to upload.
\n
\n
\n );\n }\n});\n\nReact.render(, document.body);\n```\n\nAuthor\n======\n\nParam Aggarwal ([email protected])\n\nLicense\n=======\n\nMIT\n", "readmeFilename": "README.md", "_id": "[email protected]", "dist": { "shasum": "97ad1e5c034be9d404ae16ca1a5e9ba47385a973" }, "_from": "react-dropzone@", "_resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-1.0.1.tgz" }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy