import React, {Component} from 'react';
import {randomClassName} from "../../utils";
import {OverlayTrigger, Popover} from "react-bootstrap";
import './LinkPopover.scss';
class LinkPopover extends Component {
constructor(props) {
super(props);
this.id = `link-overlay-${randomClassName()}`;
}
render() {
const popover = (
{this.props.title && {this.props.title}}
{this.props.content}
);
return (this.props.content ?
{this.props.text}
:
{this.props.text}
);
}
}
export default LinkPopover;