lune-ui-lib
Version:
Lune UI Components Library
23 lines (22 loc) • 566 B
TypeScript
import type { SxProps } from '@mui/material';
import { FC, ReactNode } from 'react';
/**
* ButtonGroup uses width:100% and resizes its child buttons to be of equal size and to fit the available space.
* @param value
* @param items
* @param onChange
* @param disabled
* @constructor
*/
declare const ButtonGroup: FC<{
value: string;
items: {
value: string;
label: string | ReactNode;
dataTestId?: string;
}[];
onChange?: (value: string) => void;
disabled?: boolean;
sx?: SxProps;
}>;
export default ButtonGroup;