mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 18:30:35 +01:00
chore(Avatar): use text prop to prevent breaking change
This commit is contained in:
@@ -7,7 +7,7 @@ describe('Avatar', () => {
|
||||
['with src', { props: { src: 'https://avatars.githubusercontent.com/u/739984?v=4' } }],
|
||||
['with alt', { props: { alt: 'Benjamin Canac' } }],
|
||||
['with class', { props: { class: 'bg-white dark:bg-gray-900' } }],
|
||||
['with fallback', { props: { fallback: '+1' } }],
|
||||
['with text', { props: { text: '+1' } }],
|
||||
['with icon', { props: { icon: 'i-heroicons-photo' } }],
|
||||
['with size 3xs', { props: { size: '3xs' as const } }],
|
||||
['with size 2xs', { props: { size: '2xs' as const } }],
|
||||
|
||||
Reference in New Issue
Block a user