type Props = { activeIndex: number } export function NavIndicator({ activeIndex }: Props) { const itemHeight = 48 const itemOffset = 14 const position = activeIndex * itemHeight + itemOffset return (
) }