/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
shared/common-adapters/popup/index.shared.tsx
25 строк
907 B
chrisnojima
fix(chat): reactions bottom sheet scrolling, pinned footer, compact rows (#29442)
20 июл 2026, 20:27
Не верифицирован
20 июл 2026, 20:27
e7c4296
Код
Авторство
О чём код?
import type {MeasureRef} from '@/common-adapters/measure-ref' import type * as React from 'react' import type * as Styles from '@/styles' export type PopupProps = { children: React.ReactNode onHidden?: () => void attachTo?: React.RefObject<MeasureRef | null> // mobile ignores attachTo and presents a bottom sheet by default; set this // to keep the raw anchored portal on mobile (e.g. positioned over an input) mobileAnchored?: boolean position?: Styles.Position positionFallbacks?: ReadonlyArray<Styles.Position> propagateOutsideClicks?: boolean matchDimension?: boolean remeasureHint?: number offset?: number style?: Styles.StylesCrossPlatform containerStyle?: Styles.StylesCrossPlatform visible?: boolean hideKeyboard?: boolean snapPoints?: Array<string | number> // mobile sheet only: pinned below the scrolling content, always visible footer?: React.ReactNode }