Skip to content

Commit c52dd5c

Browse files
authored
Disable children property from NextSeo as it is not supported (#996)
1 parent 4cca002 commit c52dd5c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,8 @@ languageAlternates={[{
502502

503503
#### Additional Meta Tags
504504

505-
This allows you to add any other meta tags that are not covered in the `config`.
505+
This allows you to add any other meta tags that are not covered in the `config` and
506+
should be used instead of `children` prop.
506507

507508
`content` is required. Then either `name`, `property` or `httpEquiv`. (Only one on each)
508509

src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ export interface NextSeoProps {
463463
twitter?: Twitter;
464464
additionalMetaTags?: ReadonlyArray<MetaTag>;
465465
additionalLinkTags?: ReadonlyArray<LinkTag>;
466+
children?: never;
466467
}
467468

468469
export interface DefaultSeoProps {

0 commit comments

Comments
 (0)