mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(Badge): add square prop (#4008)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -21,6 +21,7 @@ describe('Badge', () => {
|
||||
['with avatar', { props: { avatar: { src: 'https://github.com/benjamincanac.png' } } }],
|
||||
['with avatar and leadingIcon', { props: { avatar: { src: 'https://github.com/benjamincanac.png' }, leadingIcon: 'i-lucide-arrow-left' } }],
|
||||
['with avatar and trailingIcon', { props: { avatar: { src: 'https://github.com/benjamincanac.png' }, trailingIcon: 'i-lucide-arrow-right' } }],
|
||||
['with square', { props: { label: 'Badge', square: true } }],
|
||||
['with as', { props: { label: 'Badge', as: 'div' } }],
|
||||
['with class', { props: { label: 'Badge', class: 'rounded-full font-bold' } }],
|
||||
['with ui', { props: { label: 'Badge', ui: { label: 'font-bold' } } }],
|
||||
|
||||
Reference in New Issue
Block a user