UNPKG

@syncfusion/ej2-react-inputs

Version:

A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users. for React

24 lines (23 loc) 822 B
import { ComplexBase } from '@syncfusion/ej2-react-base'; import { FilesPropModel } from '@syncfusion/ej2-inputs'; /** * `FilesDirective` represent a file of the react uploader. * It must be contained in a Uploader component(`UploaderComponent`). * ```tsx * <UploaderComponent multiple={true}> * <FilesDirective> * <FileDirective name='Java' size=23000 type='pdf'><FileDirective> * <FileDirective name='C++' size=30000 type='.docx'><FileDirective> * </FilesDirective> * </UploaderComponent> * ``` */ export declare class UploadedFilesDirective extends ComplexBase<FilesPropModel & { children?: React.ReactNode; }, FilesPropModel> { static moduleName: string; } export declare class FilesDirective extends ComplexBase<{}, {}> { static propertyName: string; static moduleName: string; }