mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 04:24:30 +08:00
Add htmlAttributes property to HelmetProps per 3.x (#9686)
* Add htmlAttributes property to HelmetProps per 3.0 * Make htmlAttributes optional
This commit is contained in:
committed by
Masahiro Wakame
parent
7ad54fcef1
commit
17d06b6644
8
react-helmet/react-helmet.d.ts
vendored
8
react-helmet/react-helmet.d.ts
vendored
@@ -9,21 +9,23 @@ declare namespace ReactHelmet {
|
||||
import React = __React;
|
||||
|
||||
interface HelmetProps {
|
||||
title?: string;
|
||||
titleTemplate?: string;
|
||||
base?: any;
|
||||
htmlAttributes?: any;
|
||||
link?: Array<any>;
|
||||
meta?: Array<any>;
|
||||
script?: Array<any>;
|
||||
title?: string;
|
||||
titleTemplate?: string;
|
||||
onChangeClientState?: (newState: any) => void;
|
||||
}
|
||||
|
||||
interface HelmetData {
|
||||
title: HelmetDatum;
|
||||
base: HelmetDatum;
|
||||
htmlAttributes: HelmetDatum;
|
||||
link: HelmetDatum;
|
||||
meta: HelmetDatum;
|
||||
script: HelmetDatum;
|
||||
title: HelmetDatum;
|
||||
}
|
||||
|
||||
interface HelmetDatum {
|
||||
|
||||
Reference in New Issue
Block a user