decord/source/modules/settings/native/renderer/SettingLayout.tsx

29 lines
1,007 B
TypeScript
Raw Normal View History

// Module ID: 14692
// Function ID: 14693
// Dependencies: [19, 11474, 21, 14693, 14706, 2]
2026-07-20 16:05:17 +00:00
// Module 14692
import SearchListSectionLabel from "SearchListSectionLabel" /* 14693 */;
import SettingSegmentedControlDefault from "SettingSegmentedControl" /* 14706 */;
import { NodeType } from "GUILD_SELECT_ALL_SERVERS_OPTION_ID" /* 11474 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
import importAllResult from "noop" /* 19 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
const memoResult = importAllResult.memo(function SettingLayout(node) {
2026-07-20 16:05:17 +00:00
node = node.node;
const type = node.type;
if (NodeType.LIST === type) {
2026-07-29 08:29:29 +00:00
let obj = { node: null };
obj[0] = node;
2026-08-24 06:08:38 +00:00
return jsx(SearchListSectionLabel.SettingsList, { node: null });
2026-07-29 08:29:29 +00:00
} else if (tmp.SEGMENTED_CONTROL === type) {
obj = { node: null };
obj[0] = node;
2026-08-24 06:08:38 +00:00
return jsx(SettingSegmentedControlDefault, { node: null });
2026-07-20 16:05:17 +00:00
}
});
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/settings/native/renderer/SettingLayout.tsx");
2026-07-20 16:05:17 +00:00
export default memoResult;