Sha256: 6fe3692c25f5238c1b10d243a6e4a7a464c4380b554777f57829150e3e0b65d3
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
import React from 'react'; import { GlobalProps } from '../utilities/globalProps'; declare type EventHandler = (React.MouseEventHandler<HTMLElement>); declare type ButtonPropTypes = { aria?: { [key: string]: string; }; children?: React.ReactChild[] | React.ReactChild; className?: string | string[]; count?: number; data?: { [key: string]: string; }; disabled?: boolean; fixedWidth?: boolean; form?: string; fullWidth?: boolean; highlight?: boolean; icon?: string; iconRight?: boolean; id?: string; link?: string; loading?: boolean; newWindow?: boolean; onClick?: EventHandler; tabIndex?: number; size?: 'sm' | 'md' | 'lg'; target?: string; text?: string; type?: 'inline' | null; htmlType?: 'submit' | 'reset' | 'button' | undefined; value?: string | null; variant?: 'primary' | 'secondary' | 'link' | 'reaction'; wrapperClass?: string; } & GlobalProps; declare const Button: (props: ButtonPropTypes) => JSX.Element; export default Button;
Version data entries
2 entries across 2 versions & 1 rubygems