decord/source/design/components/Sheet/native/ActionSheetRow.native.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

49 lines
1.9 KiB
TypeScript

// Module ID: 7140
// Function ID: 7141
// Name: ActionSheetRowIcon
// Dependencies: [19, 17, 21, 5560, 5566, 5642, 7141, 2]
// Exports: ActionSheetSwitchRow
// Module 7140 (ActionSheetRowIcon)
import TableRowInner from "TableRowInner" /* 5560 */;
import TableRowIcon from "TableRowIcon" /* 5566 */;
import TableRowGroupTitle from "TableRowGroupTitle" /* 5642 */;
import TableSwitchRow from "TableSwitchRow" /* 7141 */;
import importAllResult from "noop" /* 19 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { jsx } from "jsxProd" /* 21 */;
require = arg1;
class ActionSheetRow {
constructor(arg0) {
str = global.variant;
if (str === undefined) {
str = "default";
}
({ arrow, icon } = global);
obj = { value: str, children: null };
merged = Object.assign(global, Object.create(null));
obj = { variant: str, label: global.label, arrow, icon };
merged1 = Object.assign(merged);
obj[1] = jsx(require("TableRowInner").TableRow, obj);
return jsx(closure_5.Provider, obj);
}
}
let context = importAllResult.createContext("default");
ActionSheetRow.Icon = function ActionSheetRowIcon(IconComponent) {
IconComponent = IconComponent.IconComponent;
const context = importAllResult.useContext(closure_5);
const obj = { source: IconComponent.source, IconComponent, variant: context };
return jsx(TableRowIcon.TableRowIcon, { source: IconComponent.source, IconComponent, variant: context });
};
ActionSheetRow.Group = function ActionSheetRowGroup(arg0) {
({ children, title, hasIcons } = arg0);
return <View>{jsx(TableRowGroupTitle.TableRowGroup, { hasIcons, title, children })}</View>;
};
const result = require("set").fileFinishedImporting("design/components/Sheet/native/ActionSheetRow.native.tsx");
export { ActionSheetRow };
export const ActionSheetSwitchRow = function ActionSheetSwitchRow(arg0) {
const merged = Object.assign(arg0);
return jsx(TableSwitchRow.TableSwitchRow, {});
};