UNPKG

@activecollab/components

Version:

ActiveCollab Components

21 lines 814 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["color", "size", "className"]; import React, { forwardRef } from "react"; import classnames from "classnames"; import { StyledDot } from "./Styles"; export const Dot = /*#__PURE__*/forwardRef((_ref, ref) => { let color = _ref.color, _ref$size = _ref.size, size = _ref$size === void 0 ? 8 : _ref$size, className = _ref.className, rest = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(StyledDot, _extends({ className: classnames("c-dot", className), ref: ref, $color: color, $size: size }, rest)); }); Dot.displayName = "Dot"; //# sourceMappingURL=Dot.js.map