import { PropsWithChildren } from 'react' export interface Props { as: 'ol' | 'ul' } export default function List({ as: Tag, children }: PropsWithChildren) { return {children} }