UNPKG

@payfit/unity-components

Version:

14 lines (13 loc) • 782 B
import { ReactNode } from 'react'; import { LabelProps } from '../../../../core/components/label/Label.js'; import { FileUploadTriggerInputProps } from './TanstackFileUploadTrigger.js'; export interface FileUploadTriggerFieldProps extends FileUploadTriggerInputProps, Pick<LabelProps, 'isRequired' | 'requiredVariant'> { /** Visible name for the file field. */ label: string; /** Supplemental guidance displayed below the picker action. */ helperText?: ReactNode; /** Additional field content displayed after validation feedback. */ contextualLink?: ReactNode; } declare const FileUploadTriggerField: import('react').ForwardRefExoticComponent<FileUploadTriggerFieldProps & import('react').RefAttributes<HTMLInputElement>>; export { FileUploadTriggerField };