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.

11 lines (10 loc) 500 B
import { InputState } from "../../../state/components/input/reducer"; import { StateSetters } from "../../../state/components/input/useStateSetters"; import { SelectTValue } from "./reducer"; import { BaseState, DefaultState } from "../BaseState"; export type SelectState = BaseState & InputState<SelectTValue> & StateSetters<SelectTValue>; export type InitialSelectState = { value?: string | number; disabled?: boolean; }; export declare const DefaultSelectState: DefaultState<SelectState>;