UNPKG

liber-salti

Version:

Saltí - Liber Design System

22 lines (21 loc) 643 B
/// <reference types="react" /> export interface ButtonGroupProps { /** * The variant of the button group */ variant?: 'contained' | 'outlined' | 'text'; /** * Size of the button group */ size?: 'large' | 'medium' | 'small'; /** * List of buttons to be grouped * Obs: use the Button component with the prop startIcon and pass an Icon without size set * Ex: `<Button startIcon={<Icon name="Delete" />} />` */ children?: React.ReactNode | string; /** * If `true`, the divider between options will show disabled color */ disabled?: boolean; }