UNPKG

@payfit/unity-components

Version:

14 lines (13 loc) • 769 B
import { ButtonProps } from '../../button/Button.js'; export type FileUploadDropzoneButtonProps = Omit<ButtonProps, 'mode' | 'variant'>; /** * Provides the default file-picker action for FileUploadDropzone. * * It uses a compact primary Button so file selection remains discoverable * without competing with the dropzone's content. Pass a custom `picker` to * FileUploadDropzone when the surrounding workflow needs another action. * @param props - Button content and interaction props. * @see {@link FileUploadDropzoneProps} for the composed dropzone API. */ declare const FileUploadDropzoneButton: import('react').ForwardRefExoticComponent<FileUploadDropzoneButtonProps & import('react').RefAttributes<HTMLButtonElement>>; export { FileUploadDropzoneButton };