import { BaseElementProps, BaseNullableInputElementProps, ElementFloatPosition } from "../../types"; /** File upload component props type */ export type FileUploadProps = BaseElementProps & Pick, "onValueChange" | "disabled" | "size" | "style" | "name"> & { /** Input element placeholder */ placeholder: string; /** * File types\extensions allowed to select via component * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept */ accept?: string; /** * Position of a upload file * * ! NOTE: Right alignment cannot be used with boxed style */ alignment?: ElementFloatPosition; /** * Display file name after selection * * Default is `true` */ displayFileName?: boolean; /** * Is boxed block * * ! NOTE: Cannot be used with Right alignment */ boxed?: boolean; /** Title for clear button */ clearSelectionTitle?: string; }; //# sourceMappingURL=types.d.ts.map