UNPKG

wix-style-react

Version:
28 lines (27 loc) 903 B
export default { description: 'Dropzone is a mechanism that enables users to specify a layout region where files can be uploaded to by drag and drop.', do: [ 'Use it to upload files using drag and drop to a specified region', 'Use it to upload single or multiple files', ], dont: [ 'Don’t use it to upload files via native file picker. Use <FileUpload/> instead.', ], featureExamples: [ { title: 'Structure', description: `Component consist of 2 elements:<br/> &emsp;- \`<Dropzone.Content/>\` - use it to define the initial dropzone area’s content.<br/> &emsp;- \`<Dropzone.Overlay/>\` - use it to define what is shown to the user when a file is dragged over the dropzone.`, example: '_structure', }, ], commonUseCaseExamples: [ { title: 'Add Item', description: ``, example: '_addItem', }, ], };