UNPKG

@gathertown/uikit-react-native

Version:

Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

25 lines (24 loc) 949 B
import type { SendbirdBaseChannel, SendbirdBaseMessage } from '@gathertown/uikit-utils'; import React from 'react'; type State = { message?: SendbirdBaseMessage; channel?: SendbirdBaseChannel; }; export type ReactionContextType = { openReactionList(param: Required<State>): void; openReactionUserList(param: Required<State> & { focusIndex?: number; }): void; updateReactionFocusedItem(param?: State): void; focusIndex: number; onDismiss: () => void; reactionUserListVisible: boolean; reactionListVisible: boolean; onCloseReactionUserList: () => Promise<void>; onCloseReactionList: () => Promise<void>; } & State; type Props = React.PropsWithChildren<{}>; export declare const ReactionContext: React.Context<ReactionContextType | null>; export declare const ReactionProvider: ({ children }: Props) => JSX.Element; export declare const ReactionBottomSheetsWrapper: () => JSX.Element; export {};