16 lines
842 B
TypeScript
16 lines
842 B
TypeScript
// Metro module 12834 (f12835).
|
|
import NUFTemplate from "./NUFTemplate";
|
|
import { intl, t } from "../../../../intl/index.native";
|
|
import Module12836 from "../../../../_bundle/Module12836";
|
|
import NUFChannelsManager from "../NUFChannelsManager";
|
|
import { dismissGlobalKeyboard } from "../../../../utils/native/KeyboardManagerUtils";
|
|
import SelectedChannelActionCreators from "../../../../actions/SelectedChannelActionCreators";
|
|
export default function NUFVoiceChannelsTemplate(props) {
|
|
const channel = props.channel;
|
|
return <NUFTemplate title={intl.string(t.w5HAll)} description={intl.string(t.Ww4hhq)} imageSrc={Module12836} CTALabel={intl.string(t.eIi3Om)} onCTAPress={() => {
|
|
NUFChannelsManager.handleVoiceChannelsOnboard();
|
|
dismissGlobalKeyboard();
|
|
SelectedChannelActionCreators.selectVoiceChannel(channel.id);
|
|
}} />;
|
|
};
|