mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
test(Button): improve
This commit is contained in:
@@ -17,9 +17,11 @@ describe('Button', () => {
|
||||
['with variant soft', { props: { label: 'Button', variant: 'soft' as const } }],
|
||||
['with variant ghost', { props: { label: 'Button', variant: 'ghost' as const } }],
|
||||
['with variant link', { props: { label: 'Button', variant: 'link' as const } }],
|
||||
['with icon', { props: { icon: 'i-heroicons-academic-cap' } }],
|
||||
['with trailingIcon', { props: { trailing: true, trailingIcon: 'i-heroicons-arrow-right' } }],
|
||||
['with leadingIcon', { props: { leading: true, leadingIcon: 'i-heroicons-arrow-left' } }],
|
||||
['with icon', { props: { icon: 'i-heroicons-rocket-launch' } }],
|
||||
['with leading and icon', { props: { leading: true, icon: 'i-heroicons-arrow-left' } }],
|
||||
['with leadingIcon', { props: { leadingIcon: 'i-heroicons-arrow-left' } }],
|
||||
['with trailing and icon', { props: { trailing: true, icon: 'i-heroicons-arrow-right' } }],
|
||||
['with trailingIcon', { props: { trailingIcon: 'i-heroicons-arrow-right' } }],
|
||||
['with loading', { props: { loading: true } }],
|
||||
['with loadingIcon', { props: { loading: true, loadingIcon: 'i-heroicons-sparkles' } }],
|
||||
['with disabled', { props: { label: 'Button', disabled: true } }],
|
||||
|
||||
Reference in New Issue
Block a user