import React from 'react';
import { NonCollapsibleSection, CollapsibleSection } from './DrawerSections.js';

var DrawerMenu = function (_a) {
    var node = _a.node;
    if (!node.translationKey && !node.title) {
        return React.createElement(NonCollapsibleSection, { node: node });
    }
    return React.createElement(CollapsibleSection, { node: node });
};

export { DrawerMenu };
//# sourceMappingURL=DrawerMenu.js.map
