@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.
7 lines (6 loc) • 456 B
TypeScript
import { InputAction } from "../../../state/components/input/reducer";
export type BooleanTValue = boolean;
export type Action = InputAction<BooleanTValue>;
export declare const reducer: (state: import("../../../state/components/input/reducer").InputState<boolean>, action: InputAction<boolean>) => import("../../../state/components/input/reducer").InputState<boolean>;
export type CheckboxTValue = BooleanTValue;
export type SwitchTValue = BooleanTValue;