Changeset View
Changeset View
Standalone View
Standalone View
native/chat/message.react.js
Show All 26 Lines | |||||
import type { LayoutEvent } from '../types/react-native.js'; | import type { LayoutEvent } from '../types/react-native.js'; | ||||
type BaseProps = { | type BaseProps = { | ||||
+item: ChatMessageInfoItemWithHeight, | +item: ChatMessageInfoItemWithHeight, | ||||
+focused: boolean, | +focused: boolean, | ||||
+navigation: | +navigation: | ||||
| ChatNavigationProp<'MessageList'> | | ChatNavigationProp<'MessageList'> | ||||
| AppNavigationProp<'TogglePinModal'> | | AppNavigationProp<'TogglePinModal'> | ||||
| ChatNavigationProp<'MessageResultsScreen'>, | | ChatNavigationProp<'MessageResultsScreen'> | ||||
| ChatNavigationProp<'MessageSearch'>, | |||||
+route: | +route: | ||||
| NavigationRoute<'MessageList'> | | NavigationRoute<'MessageList'> | ||||
| NavigationRoute<'TogglePinModal'> | | NavigationRoute<'TogglePinModal'> | ||||
| NavigationRoute<'MessageResultsScreen'>, | | NavigationRoute<'MessageResultsScreen'> | ||||
| NavigationRoute<'MessageSearch'>, | |||||
+toggleFocus: (messageKey: string) => void, | +toggleFocus: (messageKey: string) => void, | ||||
+verticalBounds: ?VerticalBounds, | +verticalBounds: ?VerticalBounds, | ||||
shouldDisplayPinIndicator: boolean, | shouldDisplayPinIndicator: boolean, | ||||
}; | }; | ||||
type Props = { | type Props = { | ||||
...BaseProps, | ...BaseProps, | ||||
+keyboardState: ?KeyboardState, | +keyboardState: ?KeyboardState, | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 104 Lines • Show Last 20 Lines |