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:
@@ -13,6 +13,7 @@ describe('Avatar', () => {
|
||||
['with text', { props: { text: '+1' } }],
|
||||
['with icon', { props: { icon: 'i-lucide-image' } }],
|
||||
...sizes.map((size: string) => [`with size ${size}`, { props: { src: 'https://github.com/benjamincanac.png', size } }]),
|
||||
['with as', { props: { as: 'section' } }],
|
||||
['with class', { props: { class: 'bg-[var(--ui-bg)]' } }],
|
||||
['with ui', { props: { ui: { fallback: 'font-bold' } } }]
|
||||
])('renders %s correctly', async (nameOrHtml: string, options: { props?: AvatarProps }) => {
|
||||
|
||||
Reference in New Issue
Block a user