feat(react-native): rn 0.72.7 update (#14130)

feat(react-native): version 0.72.7 update
This commit is contained in:
Calinteodor
2024-01-09 15:16:51 +02:00
committed by GitHub
parent fcdc2f500d
commit 90628f56f8
21 changed files with 5031 additions and 3538 deletions

View File

@@ -1,6 +1,6 @@
import React, { useCallback } from 'react';
import { useTranslation } from 'react-i18next';
import { Text, View, ViewStyle } from 'react-native';
import { StyleProp, Text, TextStyle, View, ViewStyle } from 'react-native';
import { batch, useDispatch } from 'react-redux';
import { hideSheet } from '../../../../base/dialog/actions';
@@ -23,18 +23,20 @@ const HighlightDialog = () => {
return (
<BottomSheet>
<View style = { styles.highlightDialog }>
<Text style = { styles.highlightDialogHeading }>{ `${t('recording.highlightMoment')}?` }</Text>
<Text style = { styles.highlightDialogText }>
<View style = { styles.highlightDialog as StyleProp<ViewStyle> }>
<Text style = { styles.highlightDialogHeading as StyleProp<TextStyle> }>
{ `${t('recording.highlightMoment')}?` }
</Text>
<Text style = { styles.highlightDialogText as StyleProp<TextStyle> }>
{ t('recording.highlightMomentSucessDescription') }
</Text>
<View style = { styles.highlightDialogButtonsContainer as ViewStyle } >
<View style = { styles.highlightDialogButtonsContainer as StyleProp<ViewStyle> } >
<Button
accessibilityLabel = 'dialog.Cancel'
labelKey = 'dialog.Cancel'
onClick = { closeDialog }
type = { BUTTON_TYPES.SECONDARY } />
<View style = { styles.highlightDialogButtonsSpace } />
<View style = { styles.highlightDialogButtonsSpace as StyleProp<ViewStyle> } />
<Button
accessibilityLabel = 'recording.highlight'
labelKey = 'recording.highlight'