diff --git a/docs/en/tutorials/mobile/react-native/index.md b/docs/en/tutorials/mobile/react-native/index.md index ba8180f5e2..757765681d 100644 --- a/docs/en/tutorials/mobile/react-native/index.md +++ b/docs/en/tutorials/mobile/react-native/index.md @@ -158,7 +158,7 @@ function DataList({ data={items} keyExtractor={(item, index) => item?.id?.toString() ?? index.toString()} renderItem={render} - contentContainerStyle={{ flexGrow: 1, paddingBottom: 96 }} + contentContainerStyle={%{{{ flexGrow: 1, paddingBottom: 96 }}}%} refreshControl={} onEndReached={onEndReached} onEndReachedThreshold={0.4} @@ -255,7 +255,7 @@ function AbpSelect({ String(item.id)} - style={{ maxHeight: 360 }} + style={%{{{ maxHeight: 360 }}}%} ItemSeparatorComponent={() => ( )} @@ -376,7 +376,7 @@ export default function BookStoreStackNavigator() { headerShadowVisible: false, headerRight: () => ( navigation.goBack()} hitSlop={8}> - {t('AbpUi::Cancel')} + {t('AbpUi::Cancel')} ), })} @@ -391,7 +391,7 @@ export default function BookStoreStackNavigator() { headerShadowVisible: false, headerRight: () => ( navigation.goBack()} hitSlop={8}> - {t('AbpUi::Cancel')} + {t('AbpUi::Cancel')} ), })} @@ -436,7 +436,7 @@ export default function BottomTabNavigator() { + screenOptions={%{{{ /* ... existing screen options ... */ }}}%}> {showBookStore ? ( @@ -857,7 +857,7 @@ function CreateUpdateBookForm({ submit, book, authors }: CreateUpdateBookFormPro - + {/* Name */} @@ -869,7 +869,7 @@ function CreateUpdateBookForm({ submit, book, authors }: CreateUpdateBookFormPro onBlur={form.handleBlur('name')} error={showError('name')} autoCapitalize="sentences" - style={{ backgroundColor: primaryContainer }} + style={%{{{ backgroundColor: primaryContainer }}}%} /> {renderError('name')} @@ -885,7 +885,7 @@ function CreateUpdateBookForm({ submit, book, authors }: CreateUpdateBookFormPro editable={false} error={showError('authorId')} right={} - style={{ backgroundColor: primaryContainer }} + style={%{{{ backgroundColor: primaryContainer }}}%} /> @@ -903,7 +903,7 @@ function CreateUpdateBookForm({ submit, book, authors }: CreateUpdateBookFormPro editable={false} error={showError('type')} right={} - style={{ backgroundColor: primaryContainer }} + style={%{{{ backgroundColor: primaryContainer }}}%} /> @@ -925,7 +925,7 @@ function CreateUpdateBookForm({ submit, book, authors }: CreateUpdateBookFormPro editable={false} error={showError('publishDate')} right={} - style={{ backgroundColor: primaryContainer }} + style={%{{{ backgroundColor: primaryContainer }}}%} /> @@ -942,7 +942,7 @@ function CreateUpdateBookForm({ submit, book, authors }: CreateUpdateBookFormPro onBlur={form.handleBlur('price')} error={showError('price')} keyboardType="decimal-pad" - style={{ backgroundColor: primaryContainer }} + style={%{{{ backgroundColor: primaryContainer }}}%} /> {renderError('price')} @@ -994,7 +994,7 @@ function CreateUpdateBookForm({ submit, book, authors }: CreateUpdateBookFormPro {t('BookStore::PublishDate')} - + setDateModalVisible(false)} className="px-4 py-2 rounded-md"> - {t('AbpUi::Cancel')} + {t('AbpUi::Cancel')} {