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:
Jon Jaques
2016-06-18 22:25:21 -05:00
committed by Masahiro Wakame
parent 7ad54fcef1
commit 17d06b6644

View File

@@ -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 {