Refined import follows. Breaks on Save event

This commit is contained in:
crockwave
2020-09-18 18:23:58 -05:00
parent 1b8afd2248
commit 3c26d4ed73
2 changed files with 39 additions and 264 deletions

View File

@ -362,3 +362,11 @@ export const FileChooserLogo = props => (
FileChooserLogo.defaultProps = {
accept: ['image/svg', 'image/png'],
};
export const FileChooserCSV = props => (
<SimpleInput type='file' {...props} />
);
FileChooserCSV.defaultProps = {
accept: ['.csv'],
};