remove type from component props
This commit is contained in:
parent
43a60fd19a
commit
5ca2e74808
1 changed files with 0 additions and 5 deletions
|
@ -10,17 +10,12 @@ const { remote } = require('electron');
|
|||
class FileExporter extends React.PureComponent {
|
||||
static propTypes = {
|
||||
data: PropTypes.array,
|
||||
type: PropTypes.oneOf(['json', 'csv']),
|
||||
title: PropTypes.string,
|
||||
label: PropTypes.string,
|
||||
defaultPath: PropTypes.string,
|
||||
onFileCreated: PropTypes.func,
|
||||
};
|
||||
|
||||
static defaultProps = {
|
||||
type: 'json',
|
||||
};
|
||||
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue