@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
5 lines (4 loc) • 347 B
TypeScript
import { InputState } from '../types/inputTheme';
export declare const getState: (value: string | number | undefined, focus: boolean, disabled?: boolean, error?: boolean, informationAssociated?: string) => InputState;
export declare const hasError: (state?: InputState) => boolean;
export declare const isDisabled: (state: InputState) => boolean;