import { type ReactNode } from 'react'; export type CustomComponents = { /** The root node of the rich text. Defaults to `
` */
paragraph?: typeof Paragraph;
/** Customize how text nodes. They can either be bold or italic. Defaults to ``, `` or text. */
text?: typeof Text;
/** Customize links. Defaults to a React Router `` component in Hydrogen and a `` in Hydrogen React. */
link?: typeof RichTextLink;
/** Customize lists. They can be either ordered or unordered. Defaults to `` or `
` */
list?: typeof List;
/** Customize list items. Defaults to `