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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user