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:
Bartosz Kaszubowski 2020-09-23 14:38:17 +02:00 committed by GitHub
parent 0ad8958438
commit f9944cb2fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 3 deletions

View file

@ -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[];