feat(v2): introduce Seo component for internal usage (#4243)

This commit is contained in:
Alexey Pyltsyn 2021-02-18 17:38:55 +03:00 committed by GitHub
parent f13448d5e1
commit 1ec2f04108
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 67 additions and 70 deletions

View file

@ -106,3 +106,15 @@ declare module '@theme/DocPage' {
const DocPage: (props: Props) => JSX.Element;
export default DocPage;
}
declare module '@theme/Seo' {
export type Props = {
readonly title?: string;
readonly description?: string;
readonly keywords?: readonly string[] | string;
readonly image?: string;
};
const Seo: (props: Props) => JSX.Element;
export default Seo;
}