chore(Button): use props instead of $props

This commit is contained in:
Benjamin Canac
2024-03-06 16:04:02 +01:00
parent 5449d2aa5f
commit 7d29ff2b7a
3 changed files with 4 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ import ComponentRender from '../component-render'
describe('Button', () => {
it.each([
['with label', { props: { label: 'Button' } }],
['with class', { props: { class: 'rounded-full font-bold' } }],
['with size', { props: { label: 'Button', size: 'lg' as const } }],
['with color', { props: { label: 'Button', color: 'red' as const } }],
// ['with variant', { props: { label: 'Button', variant: 'outline' } }],