UNPKG

@uva-glass/component-library

Version:

React components UvA

13 lines (12 loc) 622 B
import { ButtonHTMLAttributes, ReactNode } from 'react'; import { UIButtonVariant } from 'types/UserInterface'; export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'style'> { /** The variant of the button. */ variant: UIButtonVariant; /** The element to show inside the button. */ children: ReactNode; /** Renders the button as a flex column. */ displayColumn?: boolean; } /** Represents a component for a button. */ export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;