Sha256: 9c693be97a50bf32c58deb047bcf24465438c8401c82c38e59854af6bb645d98

Contents?: true

Size: 506 Bytes

Versions: 2

Compression:

Stored size: 506 Bytes

Contents

import React from 'react';
import type { Callback } from '../types';
declare type FileUploadProps = {
    accept?: string[];
    className?: string;
    customMessage?: string;
    data?: {
        [key: string]: string | number;
    };
    acceptedFilesDescription?: string;
    maxSize?: number;
    onFilesAccepted: Callback<File, File>;
    onFilesRejected: (error: string, files: File[]) => void;
};
declare const FileUpload: (props: FileUploadProps) => React.ReactElement;
export default FileUpload;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1609 app/pb_kits/playbook/pb_file_upload/_file_upload.d.ts
playbook_ui-13.12.0.pre.alpha.PLAY1081exporttypes1608 app/pb_kits/playbook/pb_file_upload/_file_upload.d.ts