import React, { MouseEvent } from 'react'; import './button.css'; export interface ButtonProps { /** * Is this the principal call to action on the page? */ type?: 'primary' | 'secondary'; /** * What background color to use */ textColor?: string; /** * How large should the button be? */ size?: 'small' | 'medium' | 'large'; /** * Button contents */ label: string; /** * Optional click handler */ onClick?: (event: MouseEvent) => void; } /** * Primary UI component for user interaction */ declare const Button: ({ type, textColor, size, onClick, label, }: ButtonProps) => React.JSX.Element; export default Button;