doj-react-adminlte
Version:
Simple and easy-to-use AdminLTE components for React
34 lines (29 loc) • 840 B
TypeScript
import * as React from 'react';
export interface FileInputProps {
/**
* If true, interaction with the component is disabled
*/
disabled?: boolean;
errors?: any;
/**
* Specifies a Bootstrap 3 grid class
*/
gridClass?: string;
/**
* Specifies the text to use as the label
*/
label?: React.ReactNode;
/**
* Specifies the name of the component. It is used to distinguish elements when
* a single form change handler is used
*/
name: string;
/**
* Callback fired when component value changes. Accepts a function with two parameters,
* namely field and value
*/
onChange?: (...args: any[])=>any;
}
export default class FileInput extends React.Component<FileInputProps, any> {
render(): JSX.Element;
}