"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const List_1 = tslib_1.__importDefault(require("@material-ui/core/List"));
const ListSubheader_1 = tslib_1.__importDefault(require("@material-ui/core/ListSubheader"));
const react_1 = tslib_1.__importDefault(require("react"));
const component_mapper_1 = require("@bluebase/component-mapper");
exports.DrawerSection = component_mapper_1.componentMapper(List_1.default, {
    children: 'children',
    subheader: ({ title }) => title ? react_1.default.createElement(ListSubheader_1.default, null, title) : null
});
