diff --git a/src/app/views/query-response/graph-toolkit/GraphToolkit.tsx b/src/app/views/query-response/graph-toolkit/GraphToolkit.tsx index 34b8a20d9..504804edb 100644 --- a/src/app/views/query-response/graph-toolkit/GraphToolkit.tsx +++ b/src/app/views/query-response/graph-toolkit/GraphToolkit.tsx @@ -3,6 +3,9 @@ import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { + getTheme, + IStyle, + ITheme, Label, MessageBar, MessageBarType, @@ -20,6 +23,9 @@ class GraphToolkit extends Component { super(props); } + currentTheme: ITheme = getTheme(); + textStyle = queryResponseStyles(this.currentTheme).toolkitText.root as IStyle + public render() { const { sampleQuery } = this.props; const { toolkitUrl, exampleUrl } = lookupToolkitUrl(sampleQuery); @@ -45,7 +51,7 @@ class GraphToolkit extends Component { } return ( -