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) 517 B
import { InputState } from "../../../state/components/input/reducer"; import { StateSetters } from "../../../state/components/input/useStateSetters"; import { DatePickerTValue } from "./reducer"; import { BaseState, DefaultState } from "../BaseState"; export type DatePickerState = BaseState & InputState<DatePickerTValue> & StateSetters<DatePickerTValue>; export type InitialDatePickerState = { value?: Date; disabled?: boolean; }; export declare const DefaultDatePickerState: DefaultState<DatePickerState>;