11 lines
290 B
TypeScript
11 lines
290 B
TypeScript
import type { ReactNode } from 'react';
|
|
|
|
export interface ProseProps {
|
|
children?: ReactNode;
|
|
}
|
|
|
|
/** Long-form text: an insight, a legal page. Styles the headings and lists inside it. */
|
|
export function Prose({ children }: ProseProps) {
|
|
return <div className="prose">{children}</div>;
|
|
}
|