import clsx from "clsx"; import * as React from "react"; import * as styles from "./styles.module.css"; interface ProseProps extends React.ComponentPropsWithoutRef<"article"> { as: string | React.ElementType; wysiwyg?: string; } export const Prose = React.forwardRef( (props, ref) => { const { as = "article", children, className, wysiwyg, ...rest } = props; const Tag = as; return (
{children}
); }, ); Prose.displayName = "Prose";