UNPKG

@activecollab/components

Version:

ActiveCollab Components

18 lines 751 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; const _excluded = ["className"]; import React, { forwardRef } from "react"; import classNames from "classnames"; import { StyledSkeletonLoader } from "./Styles"; export const SkeletonLoader = /*#__PURE__*/forwardRef((_ref, ref) => { let { className } = _ref, rest = _objectWithoutPropertiesLoose(_ref, _excluded); return /*#__PURE__*/React.createElement(StyledSkeletonLoader, _extends({ ref: ref, className: classNames("c-loader c-loader--linear", className) }, rest)); }); SkeletonLoader.displayName = "SkeletonLoader"; //# sourceMappingURL=SkeletonLoader.js.map