File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ type MakeDefaultArg = (
6767type Props = {
6868 query : string ,
6969 width ?: number ,
70+ title ?: string ,
7071 schema ?: ?GraphQLSchema ,
7172 onEdit : string => void ,
7273 getDefaultFieldNames ?: ?( type : GraphQLObjectType ) => Array < string > ,
@@ -1747,6 +1748,7 @@ class ExplorerWrapper extends React.PureComponent<Props, {}> {
17471748 static defaultValue = defaultValue ;
17481749 static defaultProps = {
17491750 width : 380 ,
1751+ title : 'Explorer ',
17501752 } ;
17511753 render ( ) {
17521754 return (
@@ -1759,7 +1761,7 @@ class ExplorerWrapper extends React.PureComponent<Props, {}> {
17591761 display : this . props . explorerIsOpen ? 'block ' : 'none ',
17601762 } } >
17611763 < div className = "history - title - bar ">
1762- < div className = "history-title" > Explorer </ div >
1764+ < div className = "history - title "> { this . props . title } </div >
17631765 < div className = "doc - explorer - rhs ">
17641766 < div
17651767 className = "docExplorerHide "
You can’t perform that action at this time.
0 commit comments