@redocly/theme
Version:
Shared UI components lib
22 lines (21 loc) • 679 B
TypeScript
import * as React from 'react';
import type { UiAccessibleConfig } from '../../config';
import type { MdHeading } from '../../core/types';
export type MarkdownTemplateProps = {
pageProps: {
frontmatter?: UiAccessibleConfig;
headings?: (MdHeading | null)[];
editPage?: {
to: string;
};
lastModified?: string | null;
metadata: {
markdoc: {
tagList: string[];
[key: string]: unknown;
};
[key: string]: unknown;
};
};
};
export default function ({ pageProps, children }: React.PropsWithChildren<MarkdownTemplateProps>): React.JSX.Element;