decord/source/design/components/Sheet/native/ActionSheetRow.native.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

49 lines
1.9 KiB
TypeScript

// Module ID: 7200
// Function ID: 7201
// Name: ActionSheetRowIcon
// Dependencies: [19, 17, 21, 5605, 5611, 5687, 7201, 2]
// Exports: ActionSheetSwitchRow
// Module 7200 (ActionSheetRowIcon)
import TableRowInner from "TableRowInner" /* 5605 */;
import TableRowIcon from "TableRowIcon" /* 5611 */;
import TableRowGroupTitle from "TableRowGroupTitle" /* 5687 */;
import TableSwitchRow from "TableSwitchRow" /* 7201 */;
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, {});
};