UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

18 lines 786 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var React = require("react"); var Utilities_1 = require("../../../Utilities"); var getClassNames = Utilities_1.classNamesFunction(); /** * {@docCategory Shimmer} */ exports.ShimmerGapBase = function (props) { 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' ? width + "px" : 'auto' }, className: classNames.root }); }; //# sourceMappingURL=ShimmerGap.base.js.map