mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-15 21:50:23 +00: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
Vendored
+5
-3
@@ -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