Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / pass / components / Layout / Button / ButtonBar.tsx
blobe3887e776df9e7b2fb1ab319e0452092744256a0
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}>
13         {children}
14     </ButtonGroup>