Repository URL to install this package:
|
Version:
3.0.2 ▾
|
import { CommonPropsArgType, CommonStateOptionsType, CommonStateType } from './typings';
declare const DEFAULT_COMMON_PROPS: Readonly<{
isVisible: boolean;
isSelected: boolean;
isDisabled: boolean;
isActive: boolean;
isFocused: boolean;
}>;
declare const DEFAULT_COMMON_OPTION: Readonly<{
select: boolean;
visible: boolean;
active: boolean;
focus: boolean;
value: boolean;
label: boolean;
}>;
/**
* @todo generics for better typings
*/
declare function toCommonState(props?: CommonPropsArgType, options?: CommonStateOptionsType): CommonStateType;
export { DEFAULT_COMMON_PROPS };
export { DEFAULT_COMMON_OPTION };
export { toCommonState };