import { ReactElement } from 'react'; import { ButtonGroupOrientation, ButtonSize, ButtonVariant } from '@mezzanine-ui/core/button'; import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types'; import { ButtonProps } from './Button'; export type ButtonGroupChild = ReactElement | null | undefined | false; export interface ButtonGroupProps extends NativeElementPropsWithoutKeyAndRef<'div'> { /** * Only accept button elements. */ children: ButtonGroupChild | ButtonGroupChild[]; /** * If the `disabled` of a button inside group not provided, the `disabled` of group will override it. * @default false */ disabled?: boolean; /** * If `true`, set width: 100%. * @default false */ fullWidth?: boolean; /** * The orientation of button group. * @default 'horizontal' */ orientation?: ButtonGroupOrientation; /** * If the `size` of a button inside group not provided, the `size` of group will override it. * @default 'main' */ size?: ButtonSize; /** * If the `variant` of a button inside group not provided, the `variant` of group will override it. * @default 'base-primary' */ variant?: ButtonVariant; } /** * The react component for `mezzanine` button group. */ declare const ButtonGroup: import("react").ForwardRefExoticComponent>; export default ButtonGroup;