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.

6 lines (5 loc) 473 B
import { AirplaneFile } from "airplane"; import { InputAction } from "../../../state/components/input/reducer"; export type FileInputTValue = AirplaneFile[] | AirplaneFile | undefined; export type Action = InputAction<FileInputTValue>; export declare const reducer: (state: import("../../../state/components/input/reducer").InputState<FileInputTValue>, action: InputAction<FileInputTValue>) => import("../../../state/components/input/reducer").InputState<FileInputTValue>;