import type { ReactNode } from "react"; import styles from "./List.module.css"; type Props = { children: ReactNode; }; export const UnorderedList = ({ children, ...rest }: Props) => ( ); export const OrderedList = ({ children, ...rest }: Props) => (
    {children}
); // TODO: this is based on good faith that the children are all `
  • `s... export const ListItem = ({ children, ...rest }: Props) => (
  • {children}
  • );