mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-23 13:07:57 +02:00
refactor(v2): add missing theme-classic types (#4385)
This commit is contained in:
parent
fa1d681abc
commit
a39c62f644
17 changed files with 90 additions and 46 deletions
|
@ -9,8 +9,9 @@ import React from 'react';
|
|||
import Layout from '@theme/Layout';
|
||||
import {MDXProvider} from '@mdx-js/react';
|
||||
import MDXComponents from '@theme/MDXComponents';
|
||||
import type {Props} from '@theme/MDXPage';
|
||||
|
||||
function MDXPage(props) {
|
||||
function MDXPage(props: Props): JSX.Element {
|
||||
const {content: MDXPageContent} = props;
|
||||
const {frontMatter, metadata} = MDXPageContent;
|
||||
const {title, description} = frontMatter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue