@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, 03:37 UTC

main
tsx 47 lines 1.35 KB
Raw
1 import type { NativeHeaderToolbar as IosNativeHeaderToolbar } from "./NativeHeaderToolbar";
2
3 function NativeHeaderToolbarRoot(_props: Parameters<typeof IosNativeHeaderToolbar>[0]) {
4 return null;
5 }
6
7 function NativeHeaderToolbarButton(_props: Parameters<typeof IosNativeHeaderToolbar.Button>[0]) {
8 return null;
9 }
10
11 function NativeHeaderToolbarMenu(_props: Parameters<typeof IosNativeHeaderToolbar.Menu>[0]) {
12 return null;
13 }
14
15 function NativeHeaderToolbarMenuAction(
16 _props: Parameters<typeof IosNativeHeaderToolbar.MenuAction>[0],
17 ) {
18 return null;
19 }
20
21 function NativeHeaderToolbarCustom(_props: Parameters<typeof IosNativeHeaderToolbar.Custom>[0]) {
22 return null;
23 }
24
25 function NativeHeaderToolbarLabel(_props: Parameters<typeof IosNativeHeaderToolbar.Label>[0]) {
26 return null;
27 }
28
29 function NativeHeaderToolbarSpacer(_props: Parameters<typeof IosNativeHeaderToolbar.Spacer>[0]) {
30 return null;
31 }
32
33 function NativeHeaderToolbarSearchBarSlot() {
34 return null;
35 }
36
37 export const NativeHeaderToolbar = Object.assign(NativeHeaderToolbarRoot, {
38 Button: NativeHeaderToolbarButton,
39 Custom: NativeHeaderToolbarCustom,
40 Label: NativeHeaderToolbarLabel,
41 Menu: Object.assign(NativeHeaderToolbarMenu, {
42 Action: NativeHeaderToolbarMenuAction,
43 }),
44 MenuAction: NativeHeaderToolbarMenuAction,
45 SearchBarSlot: NativeHeaderToolbarSearchBarSlot,
46 Spacer: NativeHeaderToolbarSpacer,
47 });