@gechiui/components
Version:
UI components for GeChiUI.
22 lines • 602 B
TypeScript
/**
* External dependencies
*/
import type { Reducer } from 'react';
/**
* Internal dependencies
*/
import type { InputAction } from './actions';
export interface InputState {
_event: Event | {};
error: unknown;
initialValue?: string;
isDirty: boolean;
isDragEnabled: boolean;
isDragging: boolean;
isPressEnterToChange: boolean;
value?: string;
}
export declare type StateReducer = Reducer<InputState, InputAction>;
export declare const initialStateReducer: StateReducer;
export declare const initialInputControlState: InputState;
//# sourceMappingURL=state.d.ts.map