decord/source/design/components/Sheet/native/ActionSheetRow.native.tsx

50 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 7215
// Function ID: 7216
2026-07-20 16:05:17 +00:00
// Name: ActionSheetRowIcon
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 21, 6322, 6327, 6317, 7216, 2]
2026-07-20 16:05:17 +00:00
// Exports: ActionSheetSwitchRow
2026-08-24 06:08:38 +00:00
// Module 7215 (ActionSheetRowIcon)
import TableRowGroupTitle from "TableRowGroupTitle" /* 6317 */;
import TableRowInner from "TableRowInner" /* 6322 */;
import TableRowIcon from "TableRowIcon" /* 6327 */;
import TableSwitchRow from "TableSwitchRow" /* 7216 */;
import importAllResult from "noop" /* 19 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { jsx } from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-20 16:05:17 +00:00
class ActionSheetRow {
constructor(arg0) {
str = global.variant;
if (str === undefined) {
str = "default";
}
({ arrow, icon } = global);
2026-07-29 08:29:29 +00:00
obj = { value: str, children: null };
merged = Object.assign(global, Object.create(null));
obj = { variant: str, label: global.label, arrow, icon };
2026-07-20 16:05:17 +00:00
merged1 = Object.assign(merged);
2026-07-29 08:29:29 +00:00
obj[1] = jsx(require("TableRowInner").TableRow, obj);
2026-08-24 06:08:38 +00:00
return jsx(closure_5.Provider, obj);
2026-07-20 16:05:17 +00:00
}
}
2026-07-23 10:11:24 +00:00
let context = importAllResult.createContext("default");
2026-07-20 16:05:17 +00:00
ActionSheetRow.Icon = function ActionSheetRowIcon(IconComponent) {
IconComponent = IconComponent.IconComponent;
const context = importAllResult.useContext(closure_5);
2026-08-24 06:08:38 +00:00
const obj = { source: IconComponent.source, IconComponent, variant: context };
return jsx(TableRowIcon.TableRowIcon, { source: IconComponent.source, IconComponent, variant: context });
2026-07-20 16:05:17 +00:00
};
ActionSheetRow.Group = function ActionSheetRowGroup(arg0) {
({ children, title, hasIcons } = arg0);
2026-08-24 06:08:38 +00:00
return <View>{jsx(TableRowGroupTitle.TableRowGroup, { hasIcons, title, children })}</View>;
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("design/components/Sheet/native/ActionSheetRow.native.tsx");
2026-07-20 16:05:17 +00:00
export { ActionSheetRow };
export const ActionSheetSwitchRow = function ActionSheetSwitchRow(arg0) {
const merged = Object.assign(arg0);
2026-08-24 06:08:38 +00:00
return jsx(TableSwitchRow.TableSwitchRow, {});
2026-07-20 16:05:17 +00:00
};