--- import type { HTMLTag } from 'astro/types' // List group container (.list-group). type PolymorphicProps = { as?: HTMLTag } /** core/scss/ui/_lists.scss `.list-group-{size}` density modifiers */ type ListGroupSize = 'sm' | 'lg' interface Props extends PolymorphicProps { size?: ListGroupSize | undefined flush?: boolean hoverable?: boolean /** list-group-selectable: an item with a checked .list-group-selectable-check input gets the active look */ selectable?: boolean transparent?: boolean class?: string /** remaining attributes (data-sortable, style, …) are forwarded to the element */ [key: string]: unknown } const { as: Element = 'div', size, flush, hoverable, selectable, transparent, class: className, ...rest }: Props = Astro.props ---