mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
feat(module)!: migrate to reka-ui (#2448)
This commit is contained in:
@@ -9,7 +9,6 @@ describe('Separator', () => {
|
||||
|
||||
it.each([
|
||||
// Props
|
||||
['with as', { props: { as: 'span' } }],
|
||||
['with label', { props: { label: '+1' } }],
|
||||
['with icon', { props: { icon: 'i-lucide-image' } }],
|
||||
['with avatar', { props: { avatar: { src: 'https://github.com/benjamincanac.png' } } }],
|
||||
@@ -18,6 +17,7 @@ describe('Separator', () => {
|
||||
...types.map((type: string) => [`with type ${type}`, { props: { type } }]),
|
||||
...sizes.map((size: string) => [`with size ${size}`, { props: { size } }]),
|
||||
['with color primary', { props: { color: 'primary' } }],
|
||||
['with as', { props: { as: 'span' } }],
|
||||
['with class', { props: { class: 'flex-row-reverse' } }],
|
||||
['with ui', { props: { ui: { label: 'text-lg' } } }]
|
||||
])('renders %s correctly', async (nameOrHtml: string, options: { props?: SeparatorProps, slots?: Partial<SeparatorSlots> }) => {
|
||||
|
||||
Reference in New Issue
Block a user