This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,20 @@
// Metro module 12825 (f12826).
import { useCallback } from "react";
import { ContentDismissActionType } from "../../../dismissible_content/DismissibleContentConstants";
import ActionSheetActionCreators from "../../../action_sheet/native/ActionSheetActionCreators";
import { BottomSheet } from "../../../../design/components/Sheet/native/BottomSheet.native";
import NUFTemplateV2 from "./NUFTemplateV2";
import NUFChannelIllustration from "./NUFChannelIllustration";
import { intl, t } from "../../../../intl/index.native";
export default function NUFChannelsActionSheet(props) {
const markAsDismissed = props.markAsDismissed;
const callback = useCallback(() => {
ActionSheetActionCreators.hideActionSheet();
if (markAsDismissed != null) {
markAsDismissed(ContentDismissActionType.UNKNOWN);
}
}, [markAsDismissed]);
return <BottomSheet onDismiss={() => markAsDismissed == null ? void 0 : markAsDismissed(ContentDismissActionType.UNKNOWN)} startExpanded>
<NUFTemplateV2 illustration={<NUFChannelIllustration />} title={intl.string(t.Ay9424)} description={intl.string(t.mufH2P)} CTALabel={intl.string(t.BddRzS)} onCTAPress={callback} />
</BottomSheet>;
};