mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-13 17:17:28 +02:00
feat(v2): add optional custom wrapper class name for pages based on theme classic Layout (#3457)
* feat(v2): add optional custom wrapper class name for pages based on theme classic Layout * feat(v2): add optional custom wrapper class name for markdown pages * fix TS types
This commit is contained in:
parent
0ad8958438
commit
f9944cb2fc
5 changed files with 12 additions and 3 deletions
|
@ -13,6 +13,7 @@ declare module '@theme/MDXPage' {
|
|||
readonly frontMatter: {
|
||||
readonly title: string;
|
||||
readonly description: string;
|
||||
readonly wrapperClassName?: string;
|
||||
};
|
||||
readonly metadata: {readonly permalink: string};
|
||||
readonly rightToc: readonly MarkdownRightTableOfContents[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue