mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
chore(Button): use props instead of $props
This commit is contained in:
@@ -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' } }],
|
||||
|
||||
Reference in New Issue
Block a user