import type { InputRenderable, TextareaRenderable } from "@opentui/core" import type { RefObject } from "react" import type { UiTheme } from "../theme" import type { FocusTarget } from "../types" import { ViewFrame } from "./view-frame" type CommitDialogProps = { open: boolean focus: FocusTarget summary: string descriptionRenderKey: number summaryRef: RefObject descriptionRef: RefObject onSummaryInput: (value: string) => void theme: UiTheme } export function CommitDialog({ open, focus, summary, descriptionRenderKey, summaryRef, descriptionRef, onSummaryInput, theme, }: CommitDialogProps) { if (!open) return null return ( commit changes