GoScrobble/web/node_modules/reactstrap/es/Popover.js

22 lines
734 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import _extends from "@babel/runtime/helpers/esm/extends";
import React from 'react';
import classNames from 'classnames';
import TooltipPopoverWrapper, { propTypes } from './TooltipPopoverWrapper';
var defaultProps = {
placement: 'right',
placementPrefix: 'bs-popover',
trigger: 'click'
};
var Popover = function Popover(props) {
var popperClasses = classNames('popover', 'show', props.popperClassName);
var classes = classNames('popover-inner', props.innerClassName);
return /*#__PURE__*/React.createElement(TooltipPopoverWrapper, _extends({}, props, {
popperClassName: popperClasses,
innerClassName: classes
}));
};
Popover.propTypes = propTypes;
Popover.defaultProps = defaultProps;
export default Popover;