Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/state / dist / common.d.ts
Size: Mime:
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 };