1 import type { FC, PropsWithChildren } from 'react';
3 import { ButtonGroup } from '@proton/components';
4 import type { Size } from '@proton/components/components/button/ButtonGroup';
5 import clsx from '@proton/utils/clsx';
7 import './ButtonBar.scss';
9 type Props = { className?: string; size?: Size };
11 export const ButtonBar: FC<PropsWithChildren<Props>> = ({ children, className, size }) => (
12 <ButtonGroup className={clsx('pass-button-bar w-full', className)} color="weak" pill shape="solid" size={size}>