UNPKG

gov-gui

Version:

Gov UI Component Library Typscript Build

28 lines (27 loc) 888 B
import { GlobalProps } from '../../global/global-styles-helper'; import { AnimationProps } from '../../global/animation-helpers'; export declare class GovButton implements GlobalProps, AnimationProps { label: string | number; icon: string; hasSuffix: boolean; hasPrefix: boolean; size: string; iconSize: 'sm' | 'md' | 'lg'; type?: string; variant: string; clicked?: (event: MouseEvent) => void; typeVariant: 'button' | 'textButton' | 'iconButton'; disabled: boolean; animation?: string; animationDelay?: '2s' | '3s' | '4s' | '5s'; animationSpeed?: 'slow' | 'slower' | 'fast' | 'faster'; private allClasses; private sizes; private validVariants; watchAnimations(): void; watchAnimationsDelay(): void; watchAnimationsSpeed(): void; componentWillLoad(): void; provideClass(): void; render(): any; }