UNPKG

@payfit/unity-components

Version:

14 lines (13 loc) • 833 B
import { ComponentPropsWithoutRef } from 'react'; export type DropzoneContentProps = ComponentPropsWithoutRef<'div'>; /** * Groups a Dropzone's visual cue, label, and description. * * Use DropzoneContent as the first child of Dropzone. Its zero internal gap * keeps the visual cue and supporting text as one cohesive content block; * Dropzone adds the 20px separation before a sibling DropzoneActions section. * @param props - Content and native div attributes for the visual block. * @see {@link DropzoneActions} for file pickers and other secondary actions. */ declare const DropzoneContent: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>; export { DropzoneContent };