PromoCursed/node_modules/rc-tooltip/es/Popup.js

19 lines
660 B
JavaScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import classNames from 'classnames';
import * as React from 'react';
export default function Popup(props) {
var children = props.children,
prefixCls = props.prefixCls,
id = props.id,
overlayInnerStyle = props.overlayInnerStyle,
className = props.className,
style = props.style;
return /*#__PURE__*/React.createElement("div", {
className: classNames("".concat(prefixCls, "-content"), className),
style: style
}, /*#__PURE__*/React.createElement("div", {
className: "".concat(prefixCls, "-inner"),
id: id,
role: "tooltip",
style: overlayInnerStyle
}, typeof children === 'function' ? children() : children));
}