import clsx from "clsx"; export const Prose = ({ as, className, ...props }: Omit, "as" | "className"> & { as?: T; className?: string; }) => { let Component = as ?? "div"; return ( *)` is used to select all direct children without an increase in specificity like you'd get from just `& > *` "[html_:where(&>*)]:mx-auto [html_:where(&>*)]:max-w-2xl [html_:where(&>*)]:lg:mx-[calc(50%-min(50%,theme(maxWidth.lg)))] [html_:where(&>*)]:lg:max-w-3xl" )} {...props} /> ); };