Skip to content

Commit

Permalink
feat(chat): add input management methods to PromptFormRef interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Sma1lboy committed Dec 24, 2024
1 parent 3eea537 commit d491b37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ee/tabby-ui/components/chat/prompt-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ export interface PromptProps {

export interface PromptFormRef {
focus: () => void
setInput: (value: string) => void
input: string
}

function PromptFormRenderer(
Expand Down

0 comments on commit d491b37

Please sign in to comment.