diff --git a/apps/src/screens/BarButtonItems.tsx b/apps/src/screens/BarButtonItems.tsx index 723bd4d2a5..95ec2de3dd 100644 --- a/apps/src/screens/BarButtonItems.tsx +++ b/apps/src/screens/BarButtonItems.tsx @@ -1,6 +1,13 @@ // NOTE: The full native feature set (style, image, menu, etc.) is available, but the TS types in src/types.tsx need to be updated to match. This example uses only the currently typed props (title, icon, onPress, enabled). import React from 'react'; -import { View, Alert, Button, Text, Platform, TouchableOpacity } from 'react-native'; +import { + View, + Alert, + Button, + Text, + Platform, + TouchableOpacity, +} from 'react-native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import { ScrollView } from 'react-native-gesture-handler'; @@ -23,18 +30,20 @@ const demoScreens = [ { name: 'DoneStyleButtonDemo', title: 'Done Style Button' }, { name: 'AdvancedMenuButtonDemo', title: 'Advanced Menu Button' }, { name: 'ReactNodeButtonDemo', title: 'React Node Button' }, - { name: "BackButtonVisibleDemo", title: "Back Button Visible" }, - { name: "IdentifierExample", title: "Identifier Example" }, - { name: "IdentifierExample2", title: "Identifier Example 2" }, - { name: "ExessiveItemsExample", title: "Exessive Items Example" }, + { name: 'BackButtonVisibleDemo', title: 'Back Button Visible' }, + { name: 'IdentifierExample', title: 'Identifier Example' }, + { name: 'IdentifierExample2', title: 'Identifier Example 2' }, + { name: 'ExessiveItemsExample', title: 'Exessive Items Example' }, ]; const MainScreen = ({ navigation }: any) => ( - iOS only + + iOS only + - {demoScreens.map((screen) => ( + {demoScreens.map(screen => (