@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) • 570 B
TypeScript
import { InputState } from "../../../state/components/input/reducer";
import { StateSetters } from "../../../state/components/input/useStateSetters";
import { NumberInputTValue } from "./reducer";
import { BaseState, DefaultState } from "../BaseState";
export type NumberInputState = BaseState & InputState<NumberInputTValue> & StateSetters<NumberInputTValue>;
export type SliderState = NumberInputState;
export type InitialNumberInputState = {
value?: number;
disabled?: boolean;
};
export declare const DefaultNumberInputState: DefaultState<NumberInputState>;