The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { View } from "react-native"; |
| 2 | import { Text } from "@expo/ui/jetpack-compose"; |
| 3 | import { IconButton } from "../../components/ui/IconButton"; |
| 4 | import { NativeAppBar } from "../../components/ui/NativeAppBar.android"; |
| 5 | |
| 6 | export function NativeAppBarExample() { |
| 7 | return ( |
| 8 | <NativeAppBar |
| 9 | title={<Text style={{ fontSize: 21 }}>Native app bar</Text>} |
| 10 | navigationIcon={ |
| 11 | <IconButton icon="arrow.left" accessibilityLabel="Example back" onPress={() => {}} /> |
| 12 | } |
| 13 | actions={ |
| 14 | <View className="flex-row"> |
| 15 | <IconButton |
| 16 | icon="magnifyingglass" |
| 17 | accessibilityLabel="Example search" |
| 18 | onPress={() => {}} |
| 19 | /> |
| 20 | </View> |
| 21 | } |
| 22 | /> |
| 23 | ); |
| 24 | } |