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/ui / src / playground / Button / BaseButtonAtomStateful.d.ts
Size: Mime:
/// <reference types="node" />
import React from 'react';
import { BaseButtonProps, ButtonState } from './typings';
interface ButtonContainerType {
    handleTouchStart?: React.TouchEventHandler<ButtonContainerType>;
    handleTouchMove?(event: React.TouchEvent<any>): void;
    handleTouchEnd?(event: React.TouchEvent<any>): void;
    handleKeyDown(event: React.KeyboardEvent<any>): void;
    handleClick(event: React.MouseEvent<any>): void;
}
declare class BaseButtonAtomStateful extends React.Component<BaseButtonProps, ButtonState> implements ButtonContainerType {
    clickTimeout: number | NodeJS.Timer;
    doubleClickTimeout: number | NodeJS.Timer;
    isTouching: boolean;
    justClicked: boolean;
    state: ButtonState;
    /**
     * @description handles keydown enter - auto works with isFocused
     */
    handleKeyDown: (event: any) => void;
    private debounceClick;
    private handleActiveTimeout;
    private internalClickHandler;
    handleClick: (event: any) => void;
}
export { BaseButtonAtomStateful };
export default BaseButtonAtomStateful;