UNPKG

@procore/core-react

Version:
23 lines (17 loc) 1.44 kB
import React from 'react'; import type { DropzoneContentProps, DropzoneErrorBannerProps, DropzoneProps, DropzoneRef, MultipleErrorsProps } from './Dropzone.types'; export declare function MultipleErrors(props: MultipleErrorsProps): React.JSX.Element; export declare const DropzoneErrorBanner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<DropzoneErrorBannerProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & { ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined; }, never>> & string & Omit<React.ForwardRefExoticComponent<DropzoneErrorBannerProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>, keyof React.Component<any, {}, any>>; export declare function DropzoneDefaultMessage({ open, disabled, multiple, errorMessage, }: DropzoneContentProps & { multiple: boolean; }): React.JSX.Element; /** Dropzones allow users to quickly upload files from their computers, as well as optionally launch the file select component. @since 10.19.0 @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-dropzone--demo) @see [Design Guidelines](https://design.procore.com/dropzone) */ export declare const Dropzone: React.MemoExoticComponent<React.ForwardRefExoticComponent<DropzoneProps & React.RefAttributes<DropzoneRef>>>;