@activecollab/components
Version:
ActiveCollab Components
22 lines • 747 B
JavaScript
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,
size = 8,
className
} = _ref,
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