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

29 lines
1,007 B
TypeScript
Raw Normal View History

2026-08-26 06:04:24 +00:00
// Module ID: 14167
// Function ID: 14168
// Dependencies: [19, 10585, 21, 14168, 15241, 2]
2026-07-20 16:05:17 +00:00
2026-08-26 06:04:24 +00:00
// Module 14167
import SearchListSectionLabel from "SearchListSectionLabel" /* 14168 */;
import SettingSegmentedControlDefault from "SettingSegmentedControl" /* 15241 */;
import { NodeType } from "GUILD_SELECT_ALL_SERVERS_OPTION_ID" /* 10585 */;
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;