import useTranslateValue from "../../Utils/Translation";
import React from "react";
import MoreMenuDivider from "./Divider";
const MoreMenuSection = (props) => {
    var _a;
    const { translateString } = useTranslateValue();
    const translatedTitle = (_a = translateString(props.title)) !== null && _a !== void 0 ? _a : props.title;
    return (React.createElement("div", null,
        React.createElement("div", { className: "text-gray-400 text-xs font-medium pt-2 pl-3 pr-3 pb-2" }, translatedTitle.toUpperCase()),
        props.children,
        React.createElement(MoreMenuDivider, null)));
};
export default MoreMenuSection;
//# sourceMappingURL=MoreMenuSection.js.map