mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
feat(Tabs): add badge on items (#4553)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -25,7 +25,8 @@ const items = [{
|
||||
label: 'Tab3',
|
||||
icon: 'i-lucide-bell',
|
||||
content: 'Finally, this is the content for Tab3',
|
||||
slot: 'custom' as const
|
||||
slot: 'custom' as const,
|
||||
badge: '300'
|
||||
}]
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user