@activecollab/components
Version:
ActiveCollab Components
23 lines • 836 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import React, { forwardRef } from "react";
import { StyledLinearLoader } from "./Styles";
export const LinearLoader = /*#__PURE__*/forwardRef((_ref, ref) => {
let {
height = 4,
activeStrokeColor = "var(--color-secondary)",
inactiveStrokeColor = "var(--color-theme-transparent-300)",
activeColorPercentage = "25%",
animationDuration = 0.75,
...rest
} = _ref;
return /*#__PURE__*/React.createElement(StyledLinearLoader, _extends({
ref: ref,
$height: height,
$activeStrokeColor: activeStrokeColor,
$inactiveStrokeColor: inactiveStrokeColor,
$activeColorPercentage: activeColorPercentage,
$animationDuration: animationDuration
}, rest));
});
LinearLoader.displayName = "LinearLoader";
//# sourceMappingURL=LinearLoader.js.map