mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
feat(Tabs): handle items icon
This commit is contained in:
@@ -4,12 +4,15 @@ import ComponentRender from '../component-render'
|
||||
|
||||
const items = [{
|
||||
label: 'Tab1',
|
||||
icon: 'i-heroicons-home',
|
||||
content: 'This is the content shown for Tab1'
|
||||
}, {
|
||||
label: 'Tab2',
|
||||
icon: 'i-heroicons-user',
|
||||
content: 'And, this is the content for Tab2'
|
||||
}, {
|
||||
label: 'Tab3',
|
||||
icon: 'i-heroicons-bell',
|
||||
content: 'Finally, this is the content for Tab3'
|
||||
}]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user