MDXComponents

API Reference

useMDXComponents

(components: RenounComponentsType) => RenounComponentsType
Parameters

components *

RenounComponentsType

pre

((props: BaseCodeBlockProps & { value: string; }) => React.ReactElement) | undefined

code

((props: Omit<CodeInlineProps, "value"> & { children: string; }) => React.ReactElement) | undefined
Returns
RenounComponentsType

RenounComponentsType

RenounComponentsType
Properties

pre

((props: BaseCodeBlockProps & { value: string; }) => React.ReactElement) | undefined

code

((props: Omit<CodeInlineProps, "value"> & { children: string; }) => React.ReactElement) | undefined