import type { ButtonOwnProps } from './Button.props'; import { ReactElement } from 'react'; /** * Properties for {@link Button} * * @public */ export interface ButtonProps extends Omit, 'children'> { /** * The size of the button * @defaultValue 'medium' */ size?: ButtonOwnProps['size']; /** * The visual variant of the button * @defaultValue 'primary' */ variant?: ButtonOwnProps['variant']; /** * The content of the button */ children: React.ReactNode; /** * Optional icon to display at the start of the button */ iconStart?: ReactElement; /** * Optional icon to display at the end of the button */ iconEnd?: ReactElement; }