({ MDX }: { MDX: any })
| 4 | const ContentSchema = Block.extend({}) |
| 5 | |
| 6 | export function CodeExample({ MDX }: { MDX: any }) { |
| 7 | const { children } = parseRoot(MDX, ContentSchema, { |
| 8 | components: { PreviewContainer }, |
| 9 | }) |
| 10 | |
| 11 | return children |
| 12 | } |
| 13 | |
| 14 | function PreviewContainer({ children }: { children: React.ReactNode }) { |
| 15 | return ( |
nothing calls this directly
no test coverage detected
searching dependent graphs…