Files
starface-outlook-sync-addin/node_modules/@fluentui/react/lib-commonjs/components/Shimmer/ShimmerGap/ShimmerGap.base.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

21 lines
939 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShimmerGapBase = void 0;
var React = require("react");
var Utilities_1 = require("../../../Utilities");
var getClassNames = (0, Utilities_1.classNamesFunction)();
/**
* {@docCategory Shimmer}
*/
var ShimmerGapBase = function (props) {
// eslint-disable-next-line @typescript-eslint/no-deprecated
var height = props.height, styles = props.styles, _a = props.width, width = _a === void 0 ? '10px' : _a, borderStyle = props.borderStyle, theme = props.theme;
var classNames = getClassNames(styles, {
theme: theme,
height: height,
borderStyle: borderStyle,
});
return (React.createElement("div", { style: { width: width, minWidth: typeof width === 'number' ? "".concat(width, "px") : 'auto' }, className: classNames.root }));
};
exports.ShimmerGapBase = ShimmerGapBase;
//# sourceMappingURL=ShimmerGap.base.js.map