feat: restrict table input to json and excel

This commit is contained in:
Joshua Shoemaker 2020-08-07 13:54:25 -05:00
parent 58a0027a70
commit f2510297bc

View File

@ -41,6 +41,7 @@ class CreateTableForm extends Component {
ref={this.tableFileInput} ref={this.tableFileInput}
icon='file' icon='file'
style={{ width: '300px' }} style={{ width: '300px' }}
accept=".xls,.xlsx,.json"
/> />
<div className='creatTableFormSubmitButtons'> <div className='creatTableFormSubmitButtons'>