fix(Button): button link not showing disabled classes (#2189)

This commit is contained in:
Bernardo Oliveira
2024-09-12 11:25:24 +01:00
committed by GitHub
parent 523493105e
commit 7c2adf2f7f
13 changed files with 587 additions and 574 deletions

View File

@@ -21,6 +21,7 @@ describe('Button', () => {
['with loading', { props: { loading: true } }],
['with loadingIcon', { props: { loading: true, loadingIcon: 'i-heroicons-sparkles' } }],
['with disabled', { props: { label: 'Button', disabled: true } }],
['with disabled and with link', { props: { label: 'Button', disabled: true, to: '/link' } }],
['with block', { props: { label: 'Button', block: true } }],
['with square', { props: { label: 'Button', square: true } }],
['with class', { props: { class: 'rounded-full font-bold' } }],