15 lines
842 B
TypeScript
15 lines
842 B
TypeScript
// Metro module 11777 (f11778).
|
|
import { HelpdeskArticles } from "../../../../Constants";
|
|
import { TableRowGroup } from "../../../../design/components/TableRow/native/TableRowGroup.native";
|
|
import { intl, t } from "../../../../intl/index.native";
|
|
import HelpdeskUtils from "../../../../utils/HelpdeskUtils";
|
|
import { TableSwitchRow } from "../../../../design/components/TableRow/native/TableSwitchRow.native";
|
|
export default function RedesignContactSyncDiscoverabilityFooter(props) {
|
|
const { discoverabilityEnabled, onValueChanged } = props;
|
|
return <TableRowGroup hasIcons={false} helperText={intl.format(t.zopgpe, {
|
|
helpdeskUrl: HelpdeskUtils.getArticleURL(HelpdeskArticles.CONTACT_SYNC)
|
|
})}>
|
|
<TableSwitchRow label={intl.string(t.a5QL24)} onValueChange={onValueChanged} value={discoverabilityEnabled} />
|
|
</TableRowGroup>;
|
|
};
|