| style={{ display: 'none' }} | style={{ display: 'none' }} | ||||
| type="file" | type="file" | ||||
| id="fileUploader" | id="fileUploader" | ||||
| accept='.yml' | |||||
| accept='.yaml,.yml' | |||||
| onChange={fileChangeHandle} | onChange={fileChangeHandle} | ||||
| /> | /> | ||||
| <div ref={dropRef}> | <div ref={dropRef}> |