import type React from 'react'; import { SendbirdReactedUserInfo } from '@sendbird/uikit-utils'; import type { LocalizationContext } from '../../contexts/LocalizationCtx'; import type { ReactionContext } from '../../contexts/ReactionCtx'; import type { SendbirdChatContext } from '../../contexts/SendbirdChatCtx'; import ReactionList from './ReactionListBottomSheet'; import UserList from './ReactionUserListBottomSheet'; type GetFromContext = T extends React.Context ? NonNullable : never; export type ReactionBottomSheetProps = { visible: boolean; onDismiss: () => void; onClose: () => Promise; onPressUserProfile: (user: SendbirdReactedUserInfo) => void; chatCtx: GetFromContext; reactionCtx: GetFromContext; localizationCtx: GetFromContext; }; export const ReactionBottomSheets = { ReactionList, UserList, };