--- import Icon from '@ui/Icon.astro' interface Props { pills?: boolean tabs?: boolean class?: string /** remaining attributes (id, data-*, aria-*, …) are forwarded to the root element */ [key: string]: unknown } const { pills, tabs, class: className, ...rest } = Astro.props const classes = ['nav', pills ? 'nav-pills' : tabs ? 'nav-tabs' : undefined, className] ---