{"action":"created","issue":{"url":"https://api.github.com/repos/paramaggarwal/react-dropzone/issues/52","labels_url":"https://api.github.com/repos/paramaggarwal/react-dropzone/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/paramaggarwal/react-dropzone/issues/52/comments","events_url":"https://api.github.com/repos/paramaggarwal/react-dropzone/issues/52/events","html_url":"https://github.com/paramaggarwal/react-dropzone/pull/52","id":98594719,"number":52,"title":"Allow width / height to accept % as strings","user":{"login":"prakhar1989","id":649249,"avatar_url":"https://avatars.githubusercontent.com/u/649249?v=3","gravatar_id":"","url":"https://api.github.com/users/prakhar1989","html_url":"https://github.com/prakhar1989","followers_url":"https://api.github.com/users/prakhar1989/followers","following_url":"https://api.github.com/users/prakhar1989/following{/other_user}","gists_url":"https://api.github.com/users/prakhar1989/gists{/gist_id}","starred_url":"https://api.github.com/users/prakhar1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prakhar1989/subscriptions","organizations_url":"https://api.github.com/users/prakhar1989/orgs","repos_url":"https://api.github.com/users/prakhar1989/repos","events_url":"https://api.github.com/users/prakhar1989/events{/privacy}","received_events_url":"https://api.github.com/users/prakhar1989/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-02T09:05:10Z","updated_at":"2015-08-02T09:07:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paramaggarwal/react-dropzone/pulls/52","html_url":"https://github.com/paramaggarwal/react-dropzone/pull/52","diff_url":"https://github.com/paramaggarwal/react-dropzone/pull/52.diff","patch_url":"https://github.com/paramaggarwal/react-dropzone/pull/52.patch"},"body":"Hi Param,\r\n\r\nThanks for this react component. :grinning: \r\n\r\nI wanted to provide `width:100%` to the dropzone but it gave a `propType` validation error. Here's a quick fix that allows the width and height of the dropzone to be set in %age (as well as pixels) without giving the `failed Proptype` error.\r\n\r\n:beers: "},"comment":{"url":"https://api.github.com/repos/paramaggarwal/react-dropzone/issues/comments/127000687","html_url":"https://github.com/paramaggarwal/react-dropzone/pull/52#issuecomment-127000687","issue_url":"https://api.github.com/repos/paramaggarwal/react-dropzone/issues/52","id":127000687,"user":{"login":"paramaggarwal","id":543981,"avatar_url":"https://avatars.githubusercontent.com/u/543981?v=3","gravatar_id":"","url":"https://api.github.com/users/paramaggarwal","html_url":"https://github.com/paramaggarwal","followers_url":"https://api.github.com/users/paramaggarwal/followers","following_url":"https://api.github.com/users/paramaggarwal/following{/other_user}","gists_url":"https://api.github.com/users/paramaggarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/paramaggarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paramaggarwal/subscriptions","organizations_url":"https://api.github.com/users/paramaggarwal/orgs","repos_url":"https://api.github.com/users/paramaggarwal/repos","events_url":"https://api.github.com/users/paramaggarwal/events{/privacy}","received_events_url":"https://api.github.com/users/paramaggarwal/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T09:07:35Z","updated_at":"2015-08-02T09:07:35Z","body":"Please set via `style` instead: [index.js#L113](https://github.com/paramaggarwal/react-dropzone/blob/master/index.js#L113)."}}