diff --git a/frontend/web/components/ActionButton.tsx b/frontend/web/components/ActionButton.tsx index 96061510272c..47e551e71ef0 100644 --- a/frontend/web/components/ActionButton.tsx +++ b/frontend/web/components/ActionButton.tsx @@ -1,17 +1,23 @@ import { FC } from 'react' import classNames from 'classnames' import Icon from './Icon' -import Button from './base/forms/Button' +import Button, { ButtonType } from './base/forms/Button' type ActionButtonType = { onClick: () => void 'data-test'?: string + size?: ButtonType['size'] } -const ActionButton: FC = ({ onClick, ...rest }) => { +const ActionButton: FC = ({ + onClick, + size = 'xSmall', + ...rest +}) => { return (