openreplay/frontend/app/components/ui/QuestionMarkHint/QuestionMarkHint.js
Shekar Siri 2ed5cac986
Webpack upgrade and dependency cleanup (#523)
* change(ui) - webpack update
* change(ui) - api optimize and other fixes
2022-06-03 16:47:38 +02:00

15 lines
No EOL
417 B
JavaScript

import React from 'react';
import cn from "classnames";
import { Icon, Popup } from 'UI';
export default function QuestionMarkHint({ onHover = false, content, className, ...props }) {
return (
<Popup
trigger={ onHover ? 'mouseenter' : 'click'}
content={ content }
{ ...props }
>
<Icon name="question-circle" size="18" className={ cn("cursor-pointer", className) }/>
</Popup>
);
}