@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 13 lines 455 Bytes
Raw
1 import type { PropsWithChildren } from "react";
2 import { View } from "react-native";
3
4 import type { HardwareKeyboardCommand } from "../features/keyboard/hardwareKeyboardCommands";
5
6 export function T3KeyboardCommands(
7 props: PropsWithChildren<{
8 readonly enabledCommands: ReadonlyArray<HardwareKeyboardCommand>;
9 readonly onCommand: (command: HardwareKeyboardCommand) => void;
10 }>,
11 ) {
12 return <View className="flex-1">{props.children}</View>;
13 }