| 1 | import type { ReactElement } from "react"; |
| 2 | import { AppSheet } from "../../components/AppSheet"; |
| 3 | |
| 4 | export interface WorktreeSetupSheetProps { |
| 5 | children: ReactElement; |
| 6 | height: number; |
| 7 | onClose: () => void; |
| 8 | } |
| 9 | |
| 10 | export function WorktreeSetupSheet({ children, onClose }: WorktreeSetupSheetProps) { |
| 11 | return ( |
| 12 | <AppSheet title="Worktree setup" onClose={onClose}> |
| 13 | {children} |
| 14 | </AppSheet> |
| 15 | ); |
| 16 | } |