@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
tsx 24 lines 721 Bytes
Raw
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 }