mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-26 11:44:53 +00:00
react: All the <Dashboard /> propTypes
This commit is contained in:
parent
cfe636d849
commit
6cf3f45bc3
1 changed files with 8 additions and 1 deletions
|
|
@ -41,8 +41,15 @@ class Dashboard extends React.Component {
|
|||
|
||||
Dashboard.propTypes = {
|
||||
uppy: PropTypes.instanceOf(UppyCore).isRequired,
|
||||
plugins: PropTypes.arrayOf(PropTypes.string),
|
||||
inline: PropTypes.bool,
|
||||
plugins: PropTypes.arrayOf(PropTypes.string)
|
||||
width: PropTypes.number,
|
||||
height: PropTypes.number,
|
||||
semiTransparent: PropTypes.bool,
|
||||
showProgressDetails: PropTypes.bool,
|
||||
hideUploadButton: PropTypes.bool,
|
||||
note: PropTypes.string,
|
||||
locale: PropTypes.object
|
||||
}
|
||||
Dashboard.defaultProps = {
|
||||
inline: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue