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) 539 B
import { InputState } from "../../../state/components/input/reducer"; import { StateSetters } from "../../../state/components/input/useStateSetters"; import { MultiSelectTValue } from "./reducer"; import { BaseState, DefaultState } from "../BaseState"; export type MultiSelectState = BaseState & InputState<MultiSelectTValue> & StateSetters<MultiSelectTValue>; export type InitialMultiSelectState = { value?: (string | number)[]; disabled?: boolean; }; export declare const DefaultMultiSelectState: DefaultState<MultiSelectState>;