UNPKG

@airplane/views

Version:

A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.

12 lines (11 loc) 583 B
import { AirplaneFile } from "airplane"; import { InputState } from "../../../state/components/input/reducer"; import { StateSetters } from "../../../state/components/input/useStateSetters"; import { FileInputTValue } from "./reducer"; import { BaseState, DefaultState } from "../BaseState"; export type FileInputState = BaseState & InputState<FileInputTValue> & StateSetters<FileInputTValue>; export type InitialFileInputState = { disabled?: boolean; initialValue?: AirplaneFile | AirplaneFile[]; }; export declare const DefaultFileInputState: DefaultState<FileInputState>;