Skip to content

Commit 99dc2e3

Browse files
committed
chore(extension): document composer focus handle
1 parent eade0b9 commit 99dc2e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/sim/hooks/use-chat-input-focus.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { createContext, type RefObject, useContext, useEffect, useImperativeHandle } from 'react'
22
import { isMobileViewport } from '@/hooks/use-is-mobile'
33

4+
/** Requests textarea focus without interrupting dialogs and reports whether that textarea is active. */
45
export interface ChatInputFocusHandle {
56
focus: () => void
67
isFocused: () => boolean

0 commit comments

Comments
 (0)