mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-19 12:07:00 +02:00
feat(v2): introduce Seo component for internal usage (#4243)
This commit is contained in:
parent
f13448d5e1
commit
1ec2f04108
5 changed files with 67 additions and 70 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue