(components: {
[component: string]: React.ComponentType;
})
| 1 | export function useMDXComponents(components: { |
| 2 | [component: string]: React.ComponentType; |
| 3 | }) { |
| 4 | return { |
| 5 | // Allows customizing built-in components, e.g. to add styling. |
| 6 | // h1: ({ children }) => <h1 style={{ fontSize: "100px" }}>{children}</h1>, |
| 7 | ...components, |
| 8 | }; |
| 9 | } |
nothing calls this directly
no outgoing calls
no test coverage detected