UNPKG

botframework-webchat-component

Version:
9 lines (5 loc) 365 B
import { WaitUntilable } from './internal/createWaitUntilable'; import { createPropagation } from 'use-propagate'; export type SendBoxFocusOptions = WaitUntilable<{ noKeyboard: boolean }>; const { useListen: useRegisterFocusSendBox, usePropagate: useFocusSendBox } = createPropagation<SendBoxFocusOptions>(); export { useRegisterFocusSendBox, useFocusSendBox };