Axinom Mosaic Libraries
    Preparing search index...

    Interface FileUploadProps

    interface FileUploadProps {
        accept?: string;
        className?: string;
        disabled?: boolean;
        error?: string;
        id?: string;
        inlineMode?: boolean;
        label?: string;
        name: string;
        onFileSelected: (args: FileUpload) => void;
        placeholder?: string;
        tooltipContent?: ReactNode;
        value?: FileUpload;
    }

    Hierarchy (View Summary)

    Index

    Properties

    accept?: string

    Input 'accept' attribute. MIME Types can be set here to limit which file types can be selected

    className?: string

    CSS Class name for additional styles

    disabled?: boolean

    Whether or not the control is disabled (default: false)

    error?: string

    If set, indicates the control has an error and will display this prop as the error message

    id?: string

    Form control id

    inlineMode?: boolean

    Hide options not needed in the “inline” scenario

    label?: string

    Form control label

    name: string

    Name of form control, required and must be unique from other form control names. This name should match the the name of the object corresponding to this control.

    onFileSelected: (args: FileUpload) => void

    Callback called when a file is dropped or selected

    placeholder?: string

    Input placeholder

    tooltipContent?: ReactNode

    A tooltip of additional information

    value?: FileUpload

    Current value of the file upload