Gazebo_simulation-Frontend/node_modules/.cache/babel-loader/4524754a6702ebf313cc1f390dd...

1 line
1.5 KiB
JSON

{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport isRequiredForA11y from 'prop-types-extra/lib/isRequiredForA11y';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar defaultProps = {\n placement: 'right'\n};\nvar Tooltip = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n placement = _ref.placement,\n className = _ref.className,\n style = _ref.style,\n children = _ref.children,\n arrowProps = _ref.arrowProps,\n _ = _ref.scheduleUpdate,\n _1 = _ref.outOfBoundaries,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"placement\", \"className\", \"style\", \"children\", \"arrowProps\", \"scheduleUpdate\", \"outOfBoundaries\"]);\n\n bsPrefix = useBootstrapPrefix(bsPrefix, 'tooltip');\n return React.createElement(\"div\", _extends({\n ref: ref,\n style: style,\n role: \"tooltip\",\n \"x-placement\": placement,\n className: classNames(className, bsPrefix, \"bs-tooltip-\" + placement)\n }, props), React.createElement(\"div\", _extends({\n className: \"arrow\"\n }, arrowProps)), React.createElement(\"div\", {\n className: bsPrefix + \"-inner\"\n }, children));\n});\nTooltip.defaultProps = defaultProps;\nTooltip.displayName = 'Tooltip';\nexport default Tooltip;","map":null,"metadata":{},"sourceType":"module"}