feat(Tabs): handle items icon

This commit is contained in:
Benjamin Canac
2024-04-05 17:05:03 +02:00
parent 78613d8811
commit 06ea029ef6
6 changed files with 75 additions and 12 deletions

View File

@@ -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'
}]