office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
8 lines • 429 B
JavaScript
import * as React from 'react';
export var SPACER_WIDTH = 36;
export var GroupSpacer = function (props) {
var count = props.count, _a = props.indentWidth, indentWidth = _a === void 0 ? SPACER_WIDTH : _a;
var width = count * indentWidth;
return count > 0 ? React.createElement("span", { className: 'ms-GroupSpacer', style: { display: 'inline-block', width: width } }) : null;
};
//# sourceMappingURL=GroupSpacer.js.map