UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

19 lines (18 loc) 799 B
import type { InputProps } from "../../__internal__/input"; import type { ValidationProps } from "../../__internal__/validations"; type CustomFileInputProps = Omit<InputProps, "value"> & { value?: string; }; export declare const StyledHiddenFileInput: import("styled-components").StyledComponent<"input", any, CustomFileInputProps, never>; interface StyledFileInputPresentationProps extends Pick<ValidationProps, "error"> { isDraggedOver?: boolean; isDraggingFile?: boolean; hasUploadStatus?: boolean; maxHeight?: string; maxWidth?: string; minHeight?: string; minWidth?: string; isVertical?: boolean; } export declare const StyledFileInputPresentation: import("styled-components").StyledComponent<"div", any, StyledFileInputPresentationProps, never>; export {};