Merge pull request #18733 from overleaf/td-bs5-button-props

Simplify handling of BS3 props in button wrapper component

GitOrigin-RevId: 12a6b1374da5084e075775f3cef23f0b24d098fc
This commit is contained in:
Tim Down
2024-06-07 08:04:24 +00:00
committed by Copybot
parent c070c036af
commit 29837ec838
15 changed files with 32 additions and 132 deletions
@@ -55,11 +55,8 @@ const TextButton: FC<{
onClick={handleClick}
size="small"
variant="secondary"
bs3Props={{
bsStyle: null,
className: 'btn-secondary copy-button',
bsSize: 'xsmall',
}}
className="copy-button"
bs3Props={{ bsSize: 'xsmall' }}
>
{t('copy')}
</OLButton>