UNPKG

@activecollab/components

Version:

ActiveCollab Components

22 lines 915 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["children", "className", "innerRef", "style"]; import React from "react"; import classnames from "classnames"; import { StyledBubble } from "./Styles"; export const Bubble = _ref => { let children = _ref.children, className = _ref.className, _ref$innerRef = _ref.innerRef, innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef, _ref$style = _ref.style, style = _ref$style === void 0 ? {} : _ref$style, rest = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(StyledBubble, _extends({}, rest, { ref: innerRef, className: classnames("c-bubble", className), style: style }), children); }; Bubble.displayName = "Bubble"; //# sourceMappingURL=Bubble.js.map