/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
shared/common-adapters/key-event-handler.tsx
10 строк
370 B
chrisnojima-zoom
Version 670 - clean2 (#29122)
08 июн 2026, 19:31
Не верифицирован
08 июн 2026, 19:31
1943197
Код
Авторство
О чём код?
import type * as React from 'react' type EscapeHandlerProps = { onESC?: () => void children: React.ReactNode } export const EscapeHandler = (props: EscapeHandlerProps) => props.children as React.ReactElement export const KeyEventHandler = (props: {children: React.ReactNode}) => props.children as React.ReactElement export const GlobalKeyEventHandler = () => null