"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var Utilities_1 = require("../../Utilities");
var GroupSpacer_styles_1 = require("./GroupSpacer.styles");
exports.getClassNames = Utilities_1.classNamesFunction();
var SPACER_WIDTH = 36;
exports.GroupSpacer = Utilities_1.styled(function (props) {
    var count = props.count, styles = props.styles, theme = props.theme, _a = props.indentWidth, indentWidth = _a === void 0 ? SPACER_WIDTH : _a;
    var classNames = exports.getClassNames(styles, {
        theme: theme
    });
    return count > 0 ? React.createElement("span", { className: classNames.root, style: { width: count * indentWidth } }) : null;
}, GroupSpacer_styles_1.getStyles, undefined, { scope: 'GroupSpacer' });
//# sourceMappingURL=GroupSpacer.js.map