Files
Checkmate/client/src/components/inputs/ButtonGroup.tsx
T

18 lines
418 B
TypeScript
Raw Normal View History

2025-11-13 13:47:26 -08:00
import ButtonGroup from "@mui/material/ButtonGroup";
import type { ButtonGroupProps } from "@mui/material/ButtonGroup";
export const ButtonGroupInput: React.FC<ButtonGroupProps> = ({
orientation,
...props
}) => {
return (
<ButtonGroup
orientation={orientation}
{...props}
sx={{
height: orientation === "horizontal" ? 34 : "auto",
boxShadow: "none",
}}
/>
);
};