UNPKG

@wix/design-system

Version:

@wix/design-system

16 lines (13 loc) 594 B
### children - type: ReactNode - description: Accepts `<Dropzone.Overlay />` or `<Dropzone.Content />`. Both of them can contain any required content. ### dataHook - type: string - description: Applies a data-hook HTML attribute that can be used in the tests. ### className - type: string - description: Specifies a CSS class name to be appended to the component’s root element. - internal ### onDrop - type: (files: File[]) => void - description: Defines an event handler which is called when files are dropped over the dropzone. Dropped files are supplied as an argument to the function.