mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
22 lines
734 B
JavaScript
22 lines
734 B
JavaScript
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; |