import { useState } from 'react'; import { Icon2fa, IconBellRinging, IconDatabaseImport, IconFingerprint, IconKey, IconLogout, IconReceipt2, IconSettings, IconSwitchHorizontal, } from '@tabler/icons-react'; import { Code, Group } from '@pikku/mantine/core'; import classes from './NavbarSimple.module.css'; const data = [ { link: '', label: 'Notifications', icon: IconBellRinging }, { link: '', label: 'Billing', icon: IconReceipt2 }, { link: '', label: 'Security', icon: IconFingerprint }, { link: '', label: 'SSH Keys', icon: IconKey }, { link: '', label: 'Databases', icon: IconDatabaseImport }, { link: '', label: 'Authentication', icon: Icon2fa }, { link: '', label: 'Other Settings', icon: IconSettings }, ]; export function NavbarSimple() { const [active, setActive] = useState('Billing'); const links = data.map((item) => ( { event.preventDefault(); setActive(item.label); }} > {item.label} )); return ( ); }