feat: Enhance selection options with icons and dividers for improved UI
This commit is contained in:
@ -72,12 +72,13 @@ export const demoFunc = () => {
|
||||
];
|
||||
|
||||
// Selector options (second sidebar)
|
||||
const selectorOptions: ISelectionOption[] = [
|
||||
{ key: 'Overview', action: () => console.log('Overview selected') },
|
||||
{ key: 'Components', action: () => console.log('Components selected') },
|
||||
{ key: 'Services', action: () => console.log('Services selected') },
|
||||
{ key: 'Database', action: () => console.log('Database selected') },
|
||||
{ key: 'Settings', action: () => console.log('Settings selected') },
|
||||
const selectorOptions: (ISelectionOption | { divider: true })[] = [
|
||||
{ key: 'Overview', iconName: 'home', action: () => console.log('Overview selected') },
|
||||
{ key: 'Components', iconName: 'package', action: () => console.log('Components selected') },
|
||||
{ key: 'Services', iconName: 'server', action: () => console.log('Services selected') },
|
||||
{ divider: true },
|
||||
{ key: 'Database', iconName: 'database', action: () => console.log('Database selected') },
|
||||
{ key: 'Settings', iconName: 'settings', action: () => console.log('Settings selected') },
|
||||
];
|
||||
|
||||
// Main content tabs
|
||||
|
Reference in New Issue
Block a user