ArdoPageDataProvider
On this page
Provides a Markdown page's frontmatter and outline to useArdoPageData and useArdoTOC. Ardo
wraps every compiled Markdown and MDX page in it.
import { ArdoPageDataProvider } from "ardo/runtime"
<ArdoPageDataProvider frontmatter={…} toc={…}>{children}</ArdoPageDataProvider>
Props
Props type: ArdoPageDataProviderProps