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
| 1 | import { View } from "react-native"; |
| 2 | |
| 3 | import type { SheetPaneProps } from "./SheetPane.types"; |
| 4 | export type { SheetPaneProps } from "./SheetPane.types"; |
| 5 | |
| 6 | /** The root of a pane or sheet that draws an AppBar above its ScreenContent. */ |
| 7 | export function SheetPane(props: SheetPaneProps) { |
| 8 | return ( |
| 9 | <View |
| 10 | collapsable={false} |
| 11 | className={props.surface === "screen" ? "flex-1 bg-screen" : "flex-1 bg-sheet"} |
| 12 | > |
| 13 | {props.children} |
| 14 | </View> |
| 15 | ); |
| 16 | } |