"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactstrap = require("reactstrap");
var _classnames = _interopRequireDefault(require("classnames"));
require("./index.css");
const Tooltip = _ref => {
  let {
    target,
    children,
    className,
    placement
  } = _ref;
  const popperClassName = (0, _classnames.default)('sf-tooltip', className);
  const props = {
    popperClassName,
    target,
    fade: false,
    placement: placement || 'bottom',
    delay: 0,
    boundariesElement: 'body'
  };
  return /*#__PURE__*/_react.default.createElement(_reactstrap.UncontrolledTooltip, props, children);
};
var _default = exports.default = Tooltip;