--- import { Icon } from 'astro-icon/components' import { cn } from '../lib/cn' type Props = { active: boolean sortOrder: 'asc' | 'desc' | null | undefined class?: string } const { active, sortOrder, class: className }: Props = Astro.props --- { active && sortOrder ? ( sortOrder === 'asc' ? ( ) : ( ) ) : ( ) }