📜  dropzone 反应查看照片 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:34.008000             🧑  作者: Mango

代码示例1
 (extra.reject ? 'Only Image, audio and video files allowed!' : 'Select and Drop Files')}
            styles={{
                dropzoneReject: { borderColor: '#F19373', backgroundColor: '#F1BDAB' },
                inputLabel: (files, extra) => (extra.reject ? { color: '#A02800' } : {}),
            }}
 />