aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx
diff options
context:
space:
mode:
authorStas Vilchik <stas.vilchik@sonarsource.com>2018-04-25 13:54:16 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-03 20:20:50 +0200
commit4c2edb7abdb283c6bed56ce6be32304f67529045 (patch)
tree45835a2040670502953df94725fbee4768440e89 /server/sonar-web/src/main/js/components/facet/FacetHeader.tsx
parente43f918b5fc85a8b13cf966a9c23bd7d9f344fb5 (diff)
downloadsonarqube-4c2edb7abdb283c6bed56ce6be32304f67529045.tar.gz
sonarqube-4c2edb7abdb283c6bed56ce6be32304f67529045.zip
SONAR-10611 Display inline documentation tooltips (#180)
Diffstat (limited to 'server/sonar-web/src/main/js/components/facet/FacetHeader.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/facet/FacetHeader.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx b/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx
index 00b6803c124..cc1ae72047a 100644
--- a/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx
+++ b/server/sonar-web/src/main/js/components/facet/FacetHeader.tsx
@@ -25,8 +25,9 @@ import { Button } from '../ui/buttons';
import { translate, translateWithParameters } from '../../helpers/l10n';
interface Props {
+ children?: React.ReactNode;
helper?: string;
- name: string;
+ name: React.ReactNode;
onClear?: () => void;
onClick?: () => void;
open: boolean;
@@ -90,6 +91,8 @@ export default class FacetHeader extends React.PureComponent<Props> {
</span>
)}
+ {this.props.children}
+
<span className="search-navigator-facet-header-value spacer-left spacer-right ">
{this.renderValueIndicator()}
</span>