uppy/website
Andy Chong 59bfaf0d20
react/drag-drop: add a type test and document shared props (#2003)
* Update react-dragdrop.md

DragDrop component only accept `uppy` and `locale` props according to the type declared.
```
import { Uppy, Locale } from './CommonTypes';

export interface DragDropProps {
  uppy: Uppy;
  locale?: Locale;
}

/**
 * React component that renders an area in which files can be dropped to be
 * uploaded.
 */
declare const DragDrop: React.ComponentType<DragDropProps>;
export default DragDrop;```

* drag-drop: accept a number for width/height

* docs: add back dragdrop props

* docs: use the same option style as previously [skip ci]

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-02-24 15:13:01 +01:00
..
private_modules/hexo-renderer-uppyexamples Update from master 2016-02-01 00:53:55 -05:00
scripts Upgrade standard to v14 (#1860) 2019-10-09 14:53:02 +02:00
src react/drag-drop: add a type test and document shared props (#2003) 2020-02-24 15:13:01 +01:00
themes/uppy Release 2020-02-14 23:17:48 +01:00
_config.yml website: update to postcss 7 2019-05-20 11:31:38 +02:00
build-examples.js Update eslint to v6 (#1777) 2019-08-13 21:45:30 +03:00
doc-order.json Update from master 2016-02-01 00:53:55 -05:00
inject.js Website: add plugin versions (#1952) 2019-12-09 12:46:38 +03:00
package-lock.json Create package-lock.json 2020-01-15 17:26:35 +01:00
package.json Website: add plugin versions (#1952) 2019-12-09 12:46:38 +03:00
postcss.config.js we'll use the .browserslistrc config in uppy root instead 2019-08-05 18:10:14 +03:00
VUEORG_LICENSE Rename LICENSE to VUE 2015-11-29 14:22:03 +01:00