/** Button.tsx */ import React, { ReactNode } from "react"; import { Sizes, Tones, ButtonVariants } from "../types"; /** * Button props. */ export interface ButtonProps extends React.ButtonHTMLAttributes { /** Button children */ children?: ReactNode; /** Tone defines the color/tonal properties of the button. */ tone?: Tones; /** Button sizes: sm, md, lg */ size?: Sizes; /** If href is provided button becomes a link. */ href?: string; /** Variant defines the 'look' of the button. */ variant?: ButtonVariants; /** Make the button full width */ fullWidth?: boolean; } declare const Button: React.VFC; export default Button;