Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Namespaces

Enumerations

Type Aliases

Variables

Functions

Type Aliases

Banner: { id: string; message: string; type: BannerType }

Type declaration

BasePickerData: { id: string }

Type declaration

  • id: string
ComponentStyleProp<TStyles>: { styles?: Partial<TStyles> }

Type Parameters

  • TStyles

Type declaration

  • Optional styles?: Partial<TStyles>
GifPickerState: { error: null; gifImages: IGif[]; isLoading: boolean }

Type declaration

  • error: null
  • gifImages: IGif[]
  • isLoading: boolean
IChatMessage: IChatMessageResponsePayload & { isDeleted?: boolean }
IChatUserMessage: IChatUserMessageResponsePayload & { isDeleted?: boolean }
LLAlertWidgetBodyProps: ComponentStyleProp<LLAlertWidgetBodyStyles> & { DetailComponent?: typeof LLAlertWidgetDetail; DetailComponentStyles?: LLAlertWidgetDetailProps["styles"]; LinkComponent?: typeof LLAlertWidgetLink; LinkComponentStyles?: LLAlertWidgetLinkProps["styles"]; widgetId: string; onLinkPress?: any }
LLAlertWidgetBodyStyles: { container: ViewStyle }

Type declaration

  • container: ViewStyle
LLAlertWidgetDetailProps: ComponentStyleProp<LLAlertWidgetDetailStyles> & { imageUrl?: string; text?: string }
LLAlertWidgetDetailStyles: { container: ViewStyle; image: ImageStyle; text: TextStyle }

Type declaration

  • container: ViewStyle
  • image: ImageStyle
  • text: TextStyle
LLAlertWidgetLinkProps: ComponentStyleProp<LLAlertWidgetLinkStyles> & { label: string; url: string; onLinkPress?: any }
LLAlertWidgetLinkStyles: { container: ViewStyle; text: TextStyle }

Type declaration

  • container: ViewStyle
  • text: TextStyle
LLAlertWidgetProps: Omit<LLBaseWidgetProps, "widgetKind"> & { BodyComponent?: typeof LLAlertWidgetBody; BodyComponentStyles?: LLAlertWidgetBodyProps["styles"]; SponsorComponent?: typeof LLWidgetSponsor; SponsorComponentStyles?: LLWidgetSponsorProps["styles"]; onLinkPress?: any }
LLBasePickerProps<TItem>: ComponentStyleProp<LLBasePickerStyles> & { EmptyPickerComponent?: typeof LLPickerEmptyComponent; loading?: boolean; packItems: TItem[]; visible: boolean; PickerHeaderComponent?: any; PickerItemComponent: any }

Type Parameters

LLBasePickerStyles: { pickerContainer: ViewStyle; pickerItemContainer: ViewStyle; pickerItemsScrollview: ViewStyle; pickerLoadingIndicator: ViewStyle }

Type declaration

  • pickerContainer: ViewStyle
  • pickerItemContainer: ViewStyle
  • pickerItemsScrollview: ViewStyle
  • pickerLoadingIndicator: ViewStyle
LLChatBannerItemProps: ComponentStyleProp<LLChatBannerItemStyles> & { message: string; type: BannerType }
LLChatBannerItemStyles: { bannerIndicator: ViewStyle; bannerText: TextStyle; itemContainer: ViewStyle }

Type declaration

  • bannerIndicator: ViewStyle
  • bannerText: TextStyle
  • itemContainer: ViewStyle
LLChatBannerProps: ComponentStyleProp<LLChatBannerStyles> & { BannerItemComponent?: typeof LLChatBannerItem; BannerItemComponentStyles?: LLChatBannerItemProps["styles"]; bannerAutoHideTimeout?: number }
LLChatBannerStyles: { bannerContainer: ViewStyle }

Type declaration

  • bannerContainer: ViewStyle
LLChatHeaderProps: ComponentStyleProp<LLChatHeaderStyles> & { title: string }
LLChatHeaderStyles: { headerContainer: ViewStyle; headerTitle: TextStyle }

Type declaration

  • headerContainer: ViewStyle
  • headerTitle: TextStyle
LLChatMessageComposerProps: ComponentStyleProp<LLChatMessageComposerStyles> & { GifPickerComponent?: typeof LLGifPicker; GifPickerComponentStyles?: LLGifPickerProps["styles"]; SendButtonComponent?: typeof LLComposerSendButton; SendButtonComponentStyles?: LLComposerSendButtonProps["styles"]; StickerPickerComponent?: typeof LLStickerPicker; StickerPickerComponentStyles?: LLStickerPickerProps["styles"]; TextInputComponent?: typeof TextInput; roomId: string }
LLChatMessageComposerStyles: { composerContainer: ViewStyle; composerIcon: ImageStyle; composerInput: ViewStyle }

Type declaration

  • composerContainer: ViewStyle
  • composerIcon: ImageStyle
  • composerInput: ViewStyle
LLChatMessageItemBodyProps: ComponentStyleProp<LLChatMessageItemBodyStyles> & { ChatMessageItemBodyText?: typeof LLChatMessageItemBodyText; ChatMessageItemBodyTextStyles?: LLChatMessageItemBodyTextProps["styles"]; isSelfMessage: boolean; message: IChatUserMessage }
LLChatMessageItemBodyStyles: { selfMessageTextContainer: ViewStyle; textContainer: ViewStyle; textContent: ViewStyle }

Type declaration

  • selfMessageTextContainer: ViewStyle
  • textContainer: ViewStyle
  • textContent: ViewStyle
LLChatMessageItemBodyTextProps: ComponentStyleProp<LLChatMessageItemBodyTextStyles> & { isDeleted: boolean; isSelfMessage: boolean; message: string }
LLChatMessageItemBodyTextStyles: { deletedMessageText: TextStyle; selfMessageText: TextStyle; stickerImage: ImageStyle; text: TextStyle }

Type declaration

  • deletedMessageText: TextStyle
  • selfMessageText: TextStyle
  • stickerImage: ImageStyle
  • text: TextStyle
LLChatMessageItemFooterProps: ComponentStyleProp<LLChatMessageItemFooterStyles> & { UserReactionsCountComponent?: typeof LLUserReactionCounts; UserReactionsCountComponentStyles?: LLUserReactionCountsProps["styles"]; message: IChatUserMessage }
LLChatMessageItemFooterStyles: { addReactionIcon: ImageStyle; footerContainer: ViewStyle }

Type declaration

  • addReactionIcon: ImageStyle
  • footerContainer: ViewStyle
LLChatMessageItemHeaderProps: ComponentStyleProp<LLChatMessageItemHeaderStyles> & { isSelfMessage: boolean; message: IChatUserMessage }
LLChatMessageItemHeaderStyles: { avatarImage: ImageStyle; headerContainer: ViewStyle; ownTimestamp: TextStyle; ownUsername: TextStyle; timestamp: TextStyle; titleContainer: ViewStyle; username: TextStyle }

Type declaration

  • avatarImage: ImageStyle
  • headerContainer: ViewStyle
  • ownTimestamp: TextStyle
  • ownUsername: TextStyle
  • timestamp: TextStyle
  • titleContainer: ViewStyle
  • username: TextStyle
LLChatMessageItemProps: ComponentStyleProp<LLChatMessageItemStyles> & { MessageItemBodyComponent?: typeof LLChatMessageItemBody; MessageItemBodyComponentStyles?: LLChatMessageItemBodyProps["styles"]; MessageItemFooterComponent?: typeof LLChatMessageItemFooter; MessageItemFooterComponentStyles?: LLChatMessageItemFooterProps["styles"]; MessageItemHeaderComponent?: typeof LLChatMessageItemHeader; MessageItemHeaderComponentStyles?: LLChatMessageItemHeaderProps["styles"]; MessageItemMenuComponent?: typeof LLChatMessageMenu; MessageItemMenuOptionComponent?: typeof LLChatMessageMenuOption; message: IChatMessage }
LLChatMessageItemStyles: { messageItemContainer: ViewStyle; selfMessageItemContainer: ViewStyle }

Type declaration

  • messageItemContainer: ViewStyle
  • selfMessageItemContainer: ViewStyle
LLChatMessageListProps: ComponentStyleProp<LLChatMessageListStyles> & { MessageItemComponent?: typeof LLChatMessageItem; MessageItemComponentStyles?: LLChatMessageItemProps["styles"]; MessageListComponent?: typeof FlatList; MessageListEmptyComponent?: typeof LLMessageListEmptyComponent; MessageListEmptyComponentStyles?: LLMessageListEmptyComponentProps["styles"]; MessageListLoadingComponent?: ComponentType<unknown>; roomId: string }
LLChatMessageListStyles: { listLoadingIndicator: ViewStyle; rootContainer: ViewStyle }

Type declaration

  • listLoadingIndicator: ViewStyle
  • rootContainer: ViewStyle
LLChatMessageMenuOptionProps<OnClickApiFnResponseData>: ComponentStyleProp<LLChatMessageMenuOptionStyles> & { divider?: Partial<{ bottom: boolean; top: boolean }>; icon: ImageSourcePropType; textDesc: string; onClickApiFn: any }

Type Parameters

  • OnClickApiFnResponseData extends Promise<any>

LLChatMessageMenuOptionStyles: { menuItem: ViewStyle; menuItemBottomDivider: ViewStyle; menuItemIcon: ImageStyle; menuItemText: TextStyle; menuItemTopDivider: ViewStyle }

Type declaration

  • menuItem: ViewStyle
  • menuItemBottomDivider: ViewStyle
  • menuItemIcon: ImageStyle
  • menuItemText: TextStyle
  • menuItemTopDivider: ViewStyle
LLChatMessageMenuProps: ComponentStyleProp<LLChatMessageMenuStyles> & PropsWithChildren<{ visible: boolean }>
LLChatMessageMenuStyles: { menuContainer: ViewStyle }

Type declaration

  • menuContainer: ViewStyle
LLChatProps: ComponentStyleProp<LLChatStyles> & { BannerComponent?: typeof LLChatBanner; BannerComponentStyles?: LLChatBannerProps["styles"]; HeaderComponent?: typeof LLChatHeader; HeaderComponentStyles?: LLChatHeaderProps["styles"]; MessageComposerComponent?: typeof LLChatMessageComposer; MessageComposerComponentStyles?: LLChatMessageComposerProps["styles"]; MessageListComponent?: typeof LLChatMessageList; MessageListComponentStyles?: LLChatMessageListProps["styles"]; roomId: string; userAvatarUrl?: string }
LLChatStyles: { chatContainer: ViewStyle }

Type declaration

  • chatContainer: ViewStyle
LLCheerMeterWidgetBodyProps: ComponentStyleProp<LLCheerMeterWidgetBodyStyles> & { CheerCountComponent?: typeof LLCheerMeterWidgetCheerCount; CheerCountComponentStyles?: LLCheerMeterWidgetCheerCountProps["styles"]; OptionComponent?: typeof LLCheerMeterWidgetOption; OptionComponentStyles?: LLCheerMeterWidgetOptionProps["styles"]; ResultComponent?: typeof LLCheerMeterWidgetResult; ResultComponentStyles?: LLCheerMeterWidgetResultProps["styles"]; widgetId: string }
LLCheerMeterWidgetBodyStyles: { bodyContainer: ViewStyle; optionContainer: ViewStyle }

Type declaration

  • bodyContainer: ViewStyle
  • optionContainer: ViewStyle
LLCheerMeterWidgetCheerCountProps: ComponentStyleProp<LLCheerMeterWidgetCheerCountStyles> & { totalCheerCount: number }
LLCheerMeterWidgetCheerCountStyles: { cheerCountContainer: ViewStyle; cheerCountText: TextStyle }

Type declaration

  • cheerCountContainer: ViewStyle
  • cheerCountText: TextStyle
LLCheerMeterWidgetOptionProps: ComponentStyleProp<LLCheerMeterWidgetOptionStyles> & { optionIndex: number; throttleTime?: number; widgetId: string }
LLCheerMeterWidgetOptionStyles: { optionContainer: ViewStyle; optionImage: ImageStyle }

Type declaration

  • optionContainer: ViewStyle
  • optionImage: ImageStyle
LLCheerMeterWidgetProps: Omit<LLBaseWidgetProps, "widgetKind"> & { BodyComponent?: typeof LLCheerMeterWidgetBody; BodyComponentStyles?: LLCheerMeterWidgetBodyProps["styles"]; inlineFollowUp?: boolean }
LLCheerMeterWidgetResultProps: ComponentStyleProp<LLCheerMeterWidgetResultStyles> & { widgetId: string; widgetOptions: IWidgetOptionItem[] }
LLCheerMeterWidgetResultStyles: { leftOptionContainer: ViewStyle; optionContainer: ViewStyle; optionText: TextStyle; resultContainer: ViewStyle; rightOptionContainer: ViewStyle }

Type declaration

  • leftOptionContainer: ViewStyle
  • optionContainer: ViewStyle
  • optionText: TextStyle
  • resultContainer: ViewStyle
  • rightOptionContainer: ViewStyle
LLComponentStyleFn<TStyles>: ((arg: { theme: LLTheme }) => TStyles)

Type Parameters

  • TStyles

Type declaration

LLComposerSendButtonProps: ComponentStyleProp<LLComposerSendButtonStyles> & { disabled?: boolean; isSendingMessage: boolean; onPress: any }
LLComposerSendButtonStyles: { buttonContainer: ViewStyle; icon: ImageStyle }

Type declaration

  • buttonContainer: ViewStyle
  • icon: ImageStyle
LLCoreWidgetChildrenProps: { widget: IWidgetPayload; onDismiss?: any }

Type declaration

  • widget: IWidgetPayload
  • onDismiss?:function
    • onDismiss(): void
    • Returns void

LLCoreWidgetProps: ComponentStyleProp<LLCoreWidgetStyles> & { ErrorComponent?: ComponentType<unknown>; LoadingComponent?: ComponentType<unknown>; programId: string; widgetId: string; widgetKind: WidgetKind; children?: any; onDismiss?: any }
LLCoreWidgetStyles: { errorText: TextStyle; widgetContainer: ViewStyle }

Type declaration

  • errorText: TextStyle
  • widgetContainer: ViewStyle
LLEmojiSliderProps: ComponentStyleProp<LLEmojiSliderStyles> & { average?: number; disabled?: boolean; initialValue?: number; sliderUIComponentProps?: SliderUIComponentProps; thumbImages: { imageUrl: string; min: number }[]; value: number; onSlidingComplete: any; onValueChange?: any }
LLEmojiSliderStyles: { maximumTrackStyle: ViewStyle; minimumTrackStyle: ViewStyle; sliderThumbImage: ImageStyle; sliderTrack: ViewStyle; thumpImage: ImageStyle; trackMarkContainer: ViewStyle; trackMarkLine: ViewStyle; trackMarkText: TextStyle }

Type declaration

  • maximumTrackStyle: ViewStyle
  • minimumTrackStyle: ViewStyle
  • sliderThumbImage: ImageStyle
  • sliderTrack: ViewStyle
  • thumpImage: ImageStyle
  • trackMarkContainer: ViewStyle
  • trackMarkLine: ViewStyle
  • trackMarkText: TextStyle
LLEmojiSliderWidgetBodyProps: ComponentStyleProp<LLEmojiSliderWidgetBodyStyles> & { SliderComponent?: typeof LLEmojiSlider; SliderComponentStyles?: LLEmojiSliderProps["styles"]; widgetId: string }
LLEmojiSliderWidgetBodyStyles: { bodyContainer: ViewStyle }

Type declaration

  • bodyContainer: ViewStyle
LLEmojiSliderWidgetProps: Omit<LLBaseWidgetProps, "widgetKind"> & { BodyComponent?: typeof LLEmojiSliderWidgetBody; BodyComponentStyles?: LLEmojiSliderWidgetBodyProps["styles"] }
LLEmojiSliderWidgetSubmitButtonProps: LLWidgetSubmitButtonProps & { onPress?: any }
LLEndWidgetUIPhaseLabelProps: ComponentStyleProp<LLEndWidgetUIPhaseLabelStyles> & { widgetId: string }
LLEndWidgetUIPhaseLabelStyles: { container: ViewStyle; label: TextStyle }

Type declaration

  • container: ViewStyle
  • label: TextStyle
LLGifPickerHeaderProps: ComponentStyleProp<LLGifPickerHeaderStyles> & { onSearchInputChange: ReturnType<typeof useGifPicker>["onGifSearchInputChange"]; closeGifPicker: any }
LLGifPickerHeaderStyles: { closeIcon: ImageStyle; headerContainer: ViewStyle; searchInput: ViewStyle }

Type declaration

  • closeIcon: ImageStyle
  • headerContainer: ViewStyle
  • searchInput: ViewStyle
LLGifPickerProps: ComponentStyleProp<LLGifPickerStyles> & { GifPickerHeaderComponent?: typeof LLGifPickerHeader; GifPickerHeaderComponentStyles?: LLGifPickerHeaderProps["styles"]; PickerComponentStyles?: LLBasePickerProps<BasePickerData>["styles"]; visible?: boolean; closeGifPicker?: any; onSelectGif: any }
LLGifPickerStyles: { gifImage: ImageStyle; gifImageContainer: ViewStyle }

Type declaration

  • gifImage: ImageStyle
  • gifImageContainer: ViewStyle
LLMessageListEmptyComponentProps: ComponentStyleProp<LLMessageListEmptyComponentStyles> & { emptyMessageText?: string }
LLMessageListEmptyComponentStyles: { container: ViewStyle; text: TextStyle }

Type declaration

  • container: ViewStyle
  • text: TextStyle
LLNumberPredictionFollowUpWidgetProps: LLBaseWidgetProps & { BodyComponent?: typeof LLNumberPredictionWidgetBody; BodyComponentStyles?: LLNumberPredictionWidgetBodyProps["styles"] }
LLNumberPredictionWidgetBodyProps: ComponentStyleProp<LLNumberPredictionWidgetBodyStyles> & { OptionComponent?: typeof LLNumberPredictionWidgetOption; OptionComponentStyles?: LLNumberPredictionWidgetOptionProps["styles"]; widgetId: string }
LLNumberPredictionWidgetBodyStyles: { bodyContainer: ViewStyle }

Type declaration

  • bodyContainer: ViewStyle
LLNumberPredictionWidgetOptionProps: ComponentStyleProp<LLNumberPredictionWidgetOptionStyles> & { numberOption: INumberPredictionItemOption; optionIndex: number; widgetId: string; onOptionInputChange: any }
LLNumberPredictionWidgetOptionStyles: { correctNumberInput: TextStyle; correctResultContainer: ViewStyle; incorrectNumberInput: TextStyle; incorrectResultContainer: ViewStyle; numberInput: TextStyle; optionContainer: ViewStyle; optionDescriptionContainer: ViewStyle; optionDescriptionText: TextStyle; optionImage: ImageStyle; resultContainer: ViewStyle; resultText: TextStyle; validOptionContainer: ViewStyle }

Type declaration

  • correctNumberInput: TextStyle
  • correctResultContainer: ViewStyle
  • incorrectNumberInput: TextStyle
  • incorrectResultContainer: ViewStyle
  • numberInput: TextStyle
  • optionContainer: ViewStyle
  • optionDescriptionContainer: ViewStyle
  • optionDescriptionText: TextStyle
  • optionImage: ImageStyle
  • resultContainer: ViewStyle
  • resultText: TextStyle
  • validOptionContainer: ViewStyle
LLNumberPredictionWidgetProps: LLBaseWidgetProps & { BodyComponent?: typeof LLNumberPredictionWidgetBody; BodyComponentStyles?: LLNumberPredictionWidgetBodyProps["styles"]; inlineFollowUp?: boolean }
LLNumberPredictionWidgetSubmitButtonProps: LLWidgetSubmitButtonProps & { onPress?: any }
LLPollWidgetProps: LLBaseWidgetProps & { BodyComponent?: typeof LLVoteWidgetBody; BodyComponentStyles?: LLVoteWidgetBodyProps["styles"]; inlineFollowUp?: boolean }
LLPredictionFollowUpWidgetProps: LLBaseWidgetProps & { BodyComponent?: typeof LLPredictionFollowUpWidgetBody; BodyComponentStyles?: LLVoteWidgetBodyProps["styles"] }
LLPredictionWidgetProps: LLBaseWidgetProps & { BodyComponent?: typeof LLVoteWidgetBody; BodyComponentStyles?: LLVoteWidgetBodyProps["styles"]; inlineFollowUp?: boolean }
LLQuizWidgetBodyProps: ComponentStyleProp<LLQuizWidgetBodyStyles> & { ChoiceOptionComponent?: typeof LLWidgetChoiceOption; ChoiceOptionComponentStyles?: LLWidgetChoiceOptionProps["OptionComponentStyles"]; widgetId: string }
LLQuizWidgetBodyStyles: { bodyContainer: ViewStyle }

Type declaration

  • bodyContainer: ViewStyle
LLQuizWidgetProps: LLBaseWidgetProps & { BodyComponent?: typeof LLQuizWidgetBody; BodyComponentStyles?: LLQuizWidgetBodyProps["styles"] }
LLQuizWidgetSubmitButtonProps: LLWidgetSubmitButtonProps & { onPress?: any }
LLReactionPickerItemProps: ComponentStyleProp<LLReactionPickerItemStyles> & { reaction: IReactionEmoji; onPress: any }
LLReactionPickerItemStyles: { reactionIcon: ImageStyle }

Type declaration

  • reactionIcon: ImageStyle
LLReactionPickerProps: ComponentStyleProp<LLReactionPickerStyles> & { ReactionItemComponent?: typeof LLReactionPickerItem; ReactionItemComponentStyles?: LLReactionPickerItemProps["styles"]; reactionSpaceId?: string; visible?: boolean; onPress: any }
LLReactionPickerStyles: { pickerContainer: ViewStyle }

Type declaration

  • pickerContainer: ViewStyle
LLStickerPickerProps: ComponentStyleProp<LLStickerPickerStyles> & { PickerComponentStyles?: LLBasePickerProps<BasePickerData>["styles"]; visible?: boolean; closeStickerPicker?: any; onSelectSticker: any }
LLStickerPickerStyles: { pickerCloseIcon: ImageStyle; stickerHeaderContainer: ViewStyle; stickerImage: ImageStyle; stickerImageContainer: ViewStyle; stickerPackIcon: ImageStyle; stickerPacksContainer: ViewStyle }

Type declaration

  • pickerCloseIcon: ImageStyle
  • stickerHeaderContainer: ViewStyle
  • stickerImage: ImageStyle
  • stickerImageContainer: ViewStyle
  • stickerPackIcon: ImageStyle
  • stickerPacksContainer: ViewStyle
LLTextAskWidgetActionInfoProps: ComponentStyleProp<LLTextAskWidgetActionInfoStyles> & Omit<LLWidgetActionInfoProps, "styles"> & { ActionInfoComponent?: typeof LLWidgetActionInfo; ActionInfoComponentStyles?: LLWidgetActionInfoProps["styles"] }
LLTextAskWidgetActionInfoStyles: { confirmMessageText: TextStyle; container: ViewStyle }

Type declaration

  • confirmMessageText: TextStyle
  • container: ViewStyle
LLTextAskWidgetBodyProps: ComponentStyleProp<LLTextAskWidgetBodyStyles> & { InputComponent?: typeof LLTextAskWidgetInput; InputComponentStyles?: LLTextAskWidgetInputProps["styles"]; widgetId: string }
LLTextAskWidgetBodyStyles: { askText: TextStyle; container: ViewStyle }

Type declaration

  • askText: TextStyle
  • container: ViewStyle
LLTextAskWidgetInputProps: ComponentStyleProp<LLTextAskWidgetInputStyles> & { disabled?: boolean; maxLength?: number; placeHolder?: string; value?: string; onChange?: any }
LLTextAskWidgetInputStyles: { container: ViewStyle; input: TextStyle }

Type declaration

  • container: ViewStyle
  • input: TextStyle
LLTextAskWidgetProps: Omit<LLBaseWidgetProps, "widgetKind"> & { BodyComponent?: typeof LLTextAskWidgetBody; BodyComponentStyles?: LLTextAskWidgetBodyProps["styles"] }
LLTextAskWidgetSubmitButtonProps: LLWidgetSubmitButtonProps & { onPress?: any }
LLTheme: { background: string; border: string; correct: string; correctIncorrectText: string; disabledButtonBackground: string; disabledButtonText: string; error: string; incorrect: string; info: string; popoverBackground: string; primaryButtonBackground: string; primaryButtonText: string; primaryPressedButtonBackground: string; secondaryBackground: string; secondaryText: string; text: string; widgetBackground: string; widgetOption: string; widgetSelectedOption: string }

Type declaration

  • background: string
  • border: string
  • correct: string
  • correctIncorrectText: string
  • disabledButtonBackground: string
  • disabledButtonText: string
  • error: string
  • incorrect: string
  • info: string
  • popoverBackground: string
  • primaryButtonBackground: string
  • primaryButtonText: string
  • primaryPressedButtonBackground: string
  • secondaryBackground: string
  • secondaryText: string
  • text: string
  • widgetBackground: string
  • widgetOption: string
  • widgetSelectedOption: string
LLThemeAssets: { avatar: ImageSourcePropType; bin: ImageSourcePropType; blockUser: ImageSourcePropType; close: ImageSourcePropType; flag: ImageSourcePropType; gif: ImageSourcePropType; reaction: ImageSourcePropType; send: ImageSourcePropType; sticker: ImageSourcePropType; themeSwitch: ImageSourcePropType }

Type declaration

  • avatar: ImageSourcePropType
  • bin: ImageSourcePropType
  • blockUser: ImageSourcePropType
  • close: ImageSourcePropType
  • flag: ImageSourcePropType
  • gif: ImageSourcePropType
  • reaction: ImageSourcePropType
  • send: ImageSourcePropType
  • sticker: ImageSourcePropType
  • themeSwitch: ImageSourcePropType
LLThemeSwitchProps: ComponentStyleProp<LLThemeSwitchStyles> & { switchIcon?: ImageProps["source"] }
LLThemeSwitchStyles: { image: ImageStyle; imageContainer: ViewStyle }

Type declaration

  • image: ImageStyle
  • imageContainer: ViewStyle
LLThemes: Record<LLThemeType, LLTheme>
LLUserReactionCountDetailProps: ComponentStyleProp<LLUserReactionCountDetailStyles> & { reaction: UserReactionState; onPress: any }
LLUserReactionCountDetailStyles: { container: ViewStyle; reactionCountText: TextStyle; reactionIcon: ImageStyle; selfReactionContainer: ViewStyle; selfReactionCountText: TextStyle }

Type declaration

  • container: ViewStyle
  • reactionCountText: TextStyle
  • reactionIcon: ImageStyle
  • selfReactionContainer: ViewStyle
  • selfReactionCountText: TextStyle
LLUserReactionCountsProps: ComponentStyleProp<LLUserReactionCountsStyles> & { MessageReactionPickerComponent?: typeof LLReactionPicker; MessageReactionPickerComponentStyles?: LLReactionPickerProps["styles"]; UserReactionCountDetailComponent?: typeof LLUserReactionCountDetail; UserReactionCountDetailComponentStyles?: LLUserReactionCountDetailProps["styles"]; reactionsLimit?: number; showReactionPicker?: boolean; targetGroupId: string; targetId: string; onReactionItemPress?: any }
LLUserReactionCountsStyles: { moreReactionsText: TextStyle; moreReactionsView: ViewStyle; reactionCountsContainer: ViewStyle }

Type declaration

  • moreReactionsText: TextStyle
  • moreReactionsView: ViewStyle
  • reactionCountsContainer: ViewStyle
LLVoteWidgetBodyProps: ComponentStyleProp<LLVoteWidgetBodyStyles> & { VoteOptionComponent?: typeof LLWidgetVoteOption; VoteOptionComponentStyles?: LLWidgetVoteOptionProps["OptionComponentStyles"]; widgetId: string }
LLVoteWidgetBodyStyles: { bodyContainer: ViewStyle }

Type declaration

  • bodyContainer: ViewStyle
LLWidgetActionInfoProps: ComponentStyleProp<LLWidgetActionInfoStyles> & { EndWidgetUIPhaseLabelComponent?: typeof LLEndWidgetUIPhaseLabel; EndWidgetUIPhaseLabelComponentStyles?: LLEndWidgetUIPhaseLabelProps["styles"]; SubmitButtonComponent?: ComponentType<LLWidgetSubmitButtonProps>; SubmitButtonComponentStyles?: LLWidgetSubmitButtonProps["styles"]; WidgetRewardsComponent?: typeof LLWidgetRewards; WidgetRewardsComponentStyles?: LLWidgetRewardsProps["styles"]; widgetId: string }
LLWidgetActionInfoStyles: { container: ViewStyle }

Type declaration

  • container: ViewStyle
LLWidgetChoiceOptionProps: { OptionComponent?: typeof LLWidgetOption; OptionComponentStyles?: LLWidgetOptionProps["styles"]; optionIndex: number; selectedOptionIndex: number; widgetId: string; onOptionChange: any }

Type declaration

  • Optional OptionComponent?: typeof LLWidgetOption
  • Optional OptionComponentStyles?: LLWidgetOptionProps["styles"]
  • optionIndex: number
  • selectedOptionIndex: number
  • widgetId: string
  • onOptionChange:function
    • onOptionChange(optionIndex: number): void
    • Parameters

      • optionIndex: number

      Returns void

LLWidgetFooterProps: ComponentStyleProp<LLWidgetFooterStyles> & { ActionInfoComponent?: typeof LLWidgetActionInfo; ActionInfoComponentStyles?: LLWidgetActionInfoProps["styles"]; SponsorComponent?: typeof LLWidgetSponsor; SponsorComponentStyles?: LLWidgetSponsorProps["styles"]; widgetId: string }
LLWidgetFooterStyles: { container: ViewStyle }

Type declaration

  • container: ViewStyle
LLWidgetHeaderDismissIconProps: ComponentStyleProp<LLWidgetHeaderDismissIconStyles> & { onDismiss?: any }
LLWidgetHeaderDismissIconStyles: { container: ViewStyle; image: ImageStyle; imageContainer: ViewStyle }

Type declaration

  • container: ViewStyle
  • image: ImageStyle
  • imageContainer: ViewStyle
LLWidgetHeaderProps: ComponentStyleProp<LLWidgetHeaderStyles> & Omit<LLWidgetInteractiveTimerProps, "styles"> & { DismissIconComponent?: typeof LLWidgetHeaderDismissIcon; DismissIconComponentStyles?: LLWidgetHeaderDismissIconProps["styles"]; WidgetInteractiveTimerComponent?: typeof LLWidgetInteractiveTimer; WidgetInteractiveTimerComponentStyles?: LLWidgetInteractiveTimerProps["styles"]; dismissable?: boolean; title?: string; onDismiss?: any }
LLWidgetHeaderStyles: { headerContainer: ViewStyle; headerSubContainer: ViewStyle; title: TextStyle }

Type declaration

  • headerContainer: ViewStyle
  • headerSubContainer: ViewStyle
  • title: TextStyle
LLWidgetInteractiveTimerProps: ComponentStyleProp<LLWidgetInteractiveTimerStyles> & { interactiveTimeout?: number | null; updateInterval?: number; onInteractiveTimeout?: any }
LLWidgetInteractiveTimerStyles: { container: ViewStyle; innerContainer: ViewStyle }

Type declaration

  • container: ViewStyle
  • innerContainer: ViewStyle
LLWidgetOptionProps: ComponentStyleProp<LLWidgetOptionStyles> & { OptionResultBarComponent?: typeof LLWidgetOptionResultBar; OptionResultBarComponentStyles?: LLWidgetOptionResultBarProps["styles"]; correctOption?: boolean; optionDisabled: boolean; optionImage?: string; optionIndex: number; optionText?: string; percentage: number; selectedOptionIndex: number; showWidgetResult: boolean; onOptionChange: any }
LLWidgetOptionResultBarProps: ComponentStyleProp<LLWidgetOptionResultBarStyles> & { valueInPercent: number }
LLWidgetOptionResultBarStyles: { resultBarContainer: ViewStyle; resultBarView: ViewStyle }

Type declaration

  • resultBarContainer: ViewStyle
  • resultBarView: ViewStyle
LLWidgetOptionStyles: { correctOptionContainer: ViewStyle; incorrectOptionContainer: ViewStyle; optionContainer: ViewStyle; optionImage: ImageStyle; optionText: TextStyle; optionTextContainer: ViewStyle; percentText: TextStyle; selectedOptionContainer: ViewStyle }

Type declaration

  • correctOptionContainer: ViewStyle
  • incorrectOptionContainer: ViewStyle
  • optionContainer: ViewStyle
  • optionImage: ImageStyle
  • optionText: TextStyle
  • optionTextContainer: ViewStyle
  • percentText: TextStyle
  • selectedOptionContainer: ViewStyle
LLWidgetProps: LLAllWidgetProps & { AlertComponent?: typeof LLAlertWidget; CheerMeterWidgetComponent?: typeof LLCheerMeterWidget; EmojiSliderWidgetComponent?: typeof LLEmojiSliderWidget; NumberPredictionFollowUpWidgetComponent?: typeof LLNumberPredictionFollowUpWidget; NumberPredictionWidgetComponent?: typeof LLNumberPredictionWidget; PollWidgetComponent?: typeof LLPollWidget; PredictionFollowUpWidgetComponent?: typeof LLPredictionFollowUpWidget; PredictionWidgetComponent?: typeof LLPredictionWidget; QuizWidgetComponent?: typeof LLQuizWidget; SocialEmbedComponent?: ComponentType<unknown>; TextAskComponent?: typeof LLTextAskWidget; VideoAlertComponent?: ComponentType<unknown>; widgetKind: WidgetKind }
LLWidgetRewardProps: ComponentStyleProp<LLWidgetRewardStyles> & { multipleReward?: boolean; slideInOutStyle?: { translateY: Animated.AnimatedInterpolation<number> }; widgetId: string; widgetReward: IWidgetEarnableReward }
LLWidgetRewardStyles: { singleRewardText: TextStyle; slidingRewardText: TextStyle }

Type declaration

  • singleRewardText: TextStyle
  • slidingRewardText: TextStyle
LLWidgetRewardsProps: ComponentStyleProp<LLWidgetRewardsStyles> & { RewardComponent?: typeof LLWidgetReward; RewardComponentStyles?: LLWidgetRewardProps["styles"]; widgetId: string }
LLWidgetRewardsStyles: { container: ViewStyle }

Type declaration

  • container: ViewStyle
LLWidgetSeparatorStyles: { container: ViewStyle }

Type declaration

  • container: ViewStyle
LLWidgetSponsorProps: ComponentStyleProp<LLWidgetSponsorStyles> & { widgetId: string }
LLWidgetSponsorStyles: { container: ViewStyle; sponsorImage: ImageStyle; sponsorText: TextStyle }

Type declaration

  • container: ViewStyle
  • sponsorImage: ImageStyle
  • sponsorText: TextStyle
LLWidgetSubmitButtonComponentProps: ComponentStyleProp<LLWidgetSubmitButtonStyles> & { disabled?: boolean; label?: string; onPress: any }
LLWidgetSubmitButtonProps: ComponentStyleProp<LLWidgetSubmitButtonStyles> & { widgetId: string }
LLWidgetSubmitButtonStyles: { buttonContainer: ViewStyle; buttonText: TextStyle; disabledButtonContainer: ViewStyle; disabledButtonText: TextStyle }

Type declaration

  • buttonContainer: ViewStyle
  • buttonText: TextStyle
  • disabledButtonContainer: ViewStyle
  • disabledButtonText: TextStyle
LLWidgetVoteOptionProps: { OptionComponent?: typeof LLWidgetOption; OptionComponentStyles?: LLWidgetOptionProps["styles"]; correctable?: boolean; optionIndex: number; selectedOptionIndex: number; widgetId: string; onOptionChange: any }

Type declaration

  • Optional OptionComponent?: typeof LLWidgetOption
  • Optional OptionComponentStyles?: LLWidgetOptionProps["styles"]
  • Optional correctable?: boolean
  • optionIndex: number
  • selectedOptionIndex: number
  • widgetId: string
  • onOptionChange:function
    • onOptionChange(optionIndex: number): void
    • Parameters

      • optionIndex: number

      Returns void

LLWidgetsLoadMoreButtonProps: ComponentStyleProp<LLWidgetsLoadMoreButtonStyles> & { disabled?: boolean; label?: string; onPress: any }
LLWidgetsLoadMoreButtonStyles: { buttonContainer: ViewStyle; buttonText: TextStyle; container: ViewStyle; disabledButtonContainer: ViewStyle; disabledButtonText: TextStyle; loadingIndicator: TextStyle }

Type declaration

  • buttonContainer: ViewStyle
  • buttonText: TextStyle
  • container: ViewStyle
  • disabledButtonContainer: ViewStyle
  • disabledButtonText: TextStyle
  • loadingIndicator: TextStyle
LLWidgetsProps: ComponentStyleProp<LLWidgetsStyles> & { ErrorComponent?: ComponentType<unknown>; LoadMoreComponent?: typeof LLWidgetsLoadMoreButton; LoadMoreComponentStyles?: LLWidgetsLoadMoreButtonProps["styles"]; LoadingComponent?: ComponentType<unknown>; WidgetComponent?: typeof LLWidget; WidgetSeparatorComponent?: ComponentType<unknown> | typeof LLWidgetSeparator; WidgetSeparatorComponentStyles?: LLWidgetSeparatorProps["styles"]; mode: WidgetMode; programId: string; onLoadMore?: any }
LLWidgetsStyles: { container: ViewStyle; errorContainer: ViewStyle; errorText: TextStyle }

Type declaration

  • container: ViewStyle
  • errorContainer: ViewStyle
  • errorText: TextStyle
NumberPredictionWidgetOptionDetails: { interactedNumberOption: INumberPredictionItemOption; isCorrect: boolean; isWidgetOptionDisabled: boolean; showWidgetResult: boolean; widgetOption: IWidgetOptionItem }

Type declaration

PopoverDetail: { messageId: string; popoverType: PopoverType | undefined }

Type declaration

SliderUIComponentProps: SliderProps
UseAutoHideBannerEffectArg: { bannerAutoHideTimeout?: number }

Type declaration

  • Optional bannerAutoHideTimeout?: number
UseChatMessageArg: { roomId: string }

Type declaration

  • roomId: string
UseChatRoomArg: { roomId: string }

Type declaration

  • roomId: string
UseCheerMeterOnOptionPressArg: { optionIndex: number; throttleTime: number; widgetId: string }

Type declaration

  • optionIndex: number
  • throttleTime: number
  • widgetId: string
UseEmojiSliderArg: { initialValue?: number; thumbImages: { imageUrl: string; min: number }[]; value: number; onSlidingComplete: any; onValueChange?: any }

Type declaration

  • Optional initialValue?: number
  • thumbImages: { imageUrl: string; min: number }[]
  • value: number
  • onSlidingComplete:function
    • onSlidingComplete(value: number): void
    • Parameters

      • value: number

      Returns void

  • onValueChange?:function
    • onValueChange(value: number): void
    • Parameters

      • value: number

      Returns void

UseIsEndWidgetUIPhaseArg: { widgetId: string }

Type declaration

  • widgetId: string
UseIsTimelineWidgetArg: { widgetId: string }

Type declaration

  • widgetId: string
UseIsWidgetDisabledArg: { widgetId: string }

Type declaration

  • widgetId: string
UseIsWidgetOptionDisabledArg: { optionIndex: number; widgetId: string }

Type declaration

  • optionIndex: number
  • widgetId: string
UseLoadReactionPackArg: { reactionSpaceId: string }

Type declaration

  • reactionSpaceId: string
UseLoadTimelineWidgetEffectArg: { mode: WidgetMode; programId: string }

Type declaration

UseLoadUserReactionsArg: { reactionSpaceId: string }

Type declaration

  • reactionSpaceId: string
UseLoadWidgetEffectArg: { programId: string; widgetId: string; widgetKind: WidgetKind }

Type declaration

  • programId: string
  • widgetId: string
  • widgetKind: WidgetKind
UseLoadWidgetRewardsEffectArg: { widgetId: string }

Type declaration

  • widgetId: string
UseMessageItemPopoverArg: { messageId?: string }

Type declaration

  • Optional messageId?: string
UseNumberPredictionWidgetOptionArg: { numberOption: INumberPredictionItemOption; optionIndex: number; widgetId: string }

Type declaration

UsePredictionClaimRewardEffectArg: { widgetId: string; widgetKind: WidgetKind }

Type declaration

UsePredictionWidgetEffectArg: { inlineFollowUp?: boolean; programId: string; widgetId: string }

Type declaration

  • Optional inlineFollowUp?: boolean
  • programId: string
  • widgetId: string
UseReactionPackArg: { reactionSpaceId: string }

Type declaration

  • reactionSpaceId: string
UseReactionSpaceArg: { targetGroupId: string }

Type declaration

  • targetGroupId: string
UseSelectedWidgetOption: { widgetId: string }

Type declaration

  • widgetId: string
UseStylesArg<TStyles>: { componentStylesFn: LLComponentStyleFn<TStyles>; stylesProp?: Partial<TStyles> }

Type Parameters

  • TStyles

Type declaration

UseTextAskInputTextArg: { widgetId: string }

Type declaration

  • widgetId: string
UseThemeArg: { themeType?: ColorSchemeName }

Type declaration

  • Optional themeType?: ColorSchemeName
UseTimelineWidgetsArg: { programId: string }

Type declaration

  • programId: string
UseUserNumberOptionsArg: { widgetId: string }

Type declaration

  • widgetId: string
UseUserReactionsArg: { reactionSpaceId: string; targetId: string }

Type declaration

  • reactionSpaceId: string
  • targetId: string
UseUserSliderMagnitudeArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetActionsArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetChoicesArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetDismissArg: { widgetId: string; onDismiss?: any }

Type declaration

  • widgetId: string
  • onDismiss?:function
    • onDismiss(): void
    • Returns void

UseWidgetExpiryEffectArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetInteractionActionsArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetInteractionsArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetInteractiveTimeoutArg: { interactiveTimeout?: number | null; widgetId: string; onInteractiveTimeout?: any }

Type declaration

  • Optional interactiveTimeout?: number | null

    custom interactiveTimeout, defaults to the timeout value set when creating widget in producer suite

  • widgetId: string
  • onInteractiveTimeout?:function
    • onInteractiveTimeout(): void
    • function to be called when widget timeouts

      Returns void

UseWidgetInteractiveTimeoutResult: { interactiveTimeout: number | null; onInteractiveTimeout: any }

Type declaration

  • interactiveTimeout: number | null

    resulted timeout value to be used by LLWidgetHeader

  • onInteractiveTimeout:function
    • onInteractiveTimeout(): void
    • resulted timeout handler function to be used by LLWidgetHeader

      Returns void

UseWidgetKindArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetOptionsArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetResultStateArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetRewardsArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetRewardsEffectArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetSelectedOptionIndexArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetSponsorsArg: { widgetId: string }

Type declaration

  • widgetId: string
UseWidgetUIPhaseArg: { widgetId: string }

Type declaration

  • widgetId: string
UserReactionState: IUserReactionCountDetail & { imageSrc: string }
UserReactionsForTargetIdState: {}

Type declaration

WidgetCreateInteractionActionArg: { interactionItem: IWidgetChoiceItem | IWidgetOptionItem | INumberPredictionItem | ISliderInteractionItem | ITextAskInteractionItem }
WidgetUpdateInteractionActionArg: { interactionItem: IWidgetOptionItem }

Type declaration

createStylesArg<TStyles>: { componentStyles: TStyles; stylesProp?: Partial<TStyles> }

Type Parameters

  • TStyles

Type declaration

  • componentStyles: TStyles
  • Optional stylesProp?: Partial<TStyles>
useTimelineWidgetActionsArg: { programId: string }

Type declaration

  • programId: string

Variables

DEFAULT_BANNER_AUTO_HIDE_TIMEOUT: 4000 = 4000
LLChatMessageItem: MemoExoticComponent<((__namedParameters: LLChatMessageItemProps) => Element)> = ...
LLChatMessageItemBodyText: MemoExoticComponent<((__namedParameters: LLChatMessageItemBodyTextProps) => Element)> = ...

Functions

  • Parameters

    Returns Element

  • Type Parameters

    • OnClickApiFnResponseData extends Promise<any, OnClickApiFnResponseData>

    Parameters

    Returns Element

  • useApi<ApiResponse>(apiFunction: (() => Promise<ApiResponse>)): { data: ApiResponse; error: string; isLoading: boolean; onApi: (() => Promise<ApiResponse>) }
  • Type Parameters

    • ApiResponse = unknown

    Parameters

    • apiFunction: (() => Promise<ApiResponse>)
        • (): Promise<ApiResponse>
        • Returns Promise<ApiResponse>

    Returns { data: ApiResponse; error: string; isLoading: boolean; onApi: (() => Promise<ApiResponse>) }

    • data: ApiResponse
    • error: string
    • isLoading: boolean
    • onApi: (() => Promise<ApiResponse>)
        • (): Promise<ApiResponse>
        • Returns Promise<ApiResponse>

  • useAutoHideBannerEffect(__namedParameters: Object): void
  • Parameters

    • __namedParameters: Object

    Returns void

  • useAutoScroll(__namedParameters: { ref: RefObject<FlatList<any>> }): { onContentSizeChangeHandler: ((width: number, height: number) => void) }
  • Parameters

    • __namedParameters: { ref: RefObject<FlatList<any>> }
      • ref: RefObject<FlatList<any>>

    Returns { onContentSizeChangeHandler: ((width: number, height: number) => void) }

    • onContentSizeChangeHandler: ((width: number, height: number) => void)
        • (width: number, height: number): void
        • Parameters

          • width: number
          • height: number

          Returns void

  • useBanner(): { banners: Banner[] }
  • useBannerActions(): { addBannerItem: ((__namedParameters: Object) => void) }
  • Returns { addBannerItem: ((__namedParameters: Object) => void) }

    • addBannerItem: ((__namedParameters: Object) => void)
        • (__namedParameters: Object): void
        • Parameters

          • __namedParameters: Object

          Returns void

  • useChatMessageActions(__namedParameters: Object): { deleteChatMessage: ((__namedParameters: Object) => void); sendChatMessage: ((messageArgs: ISendMessageArgs) => Promise<void>) }
  • Parameters

    • __namedParameters: Object

    Returns { deleteChatMessage: ((__namedParameters: Object) => void); sendChatMessage: ((messageArgs: ISendMessageArgs) => Promise<void>) }

    • deleteChatMessage: ((__namedParameters: Object) => void)
        • (__namedParameters: Object): void
        • Parameters

          • __namedParameters: Object

          Returns void

    • sendChatMessage: ((messageArgs: ISendMessageArgs) => Promise<void>)
  • useChatMessagesEffect(__namedParameters: Object): void
  • Parameters

    • __namedParameters: Object

    Returns void

  • useEmojiSlider(__namedParameters: UseEmojiSliderArg): { onSlidingCompleteHandler: ((__namedParameters: [any]) => void); onValueChangeHandler: ((__namedParameters: [any]) => void); sliderInput: number; thumbImg: string }
  • description

    useEmojiSlider hook provides state logic and effects for LLEmojiSlider component

    Parameters

    Returns { onSlidingCompleteHandler: ((__namedParameters: [any]) => void); onValueChangeHandler: ((__namedParameters: [any]) => void); sliderInput: number; thumbImg: string }

    • onSlidingCompleteHandler: ((__namedParameters: [any]) => void)
        • (__namedParameters: [any]): void
        • Parameters

          • __namedParameters: [any]

          Returns void

    • onValueChangeHandler: ((__namedParameters: [any]) => void)
        • (__namedParameters: [any]): void
        • Parameters

          • __namedParameters: [any]

          Returns void

    • sliderInput: number
    • thumbImg: string
  • useGifPicker(): { error: null; gifImages: IGif[]; isLoading: boolean; loadNextGifImages: (() => Promise<void>); onGifSearchInputChange: ((gifSearchInput: any, __namedParameters?: { debounce: boolean }) => void) }
  • Returns { error: null; gifImages: IGif[]; isLoading: boolean; loadNextGifImages: (() => Promise<void>); onGifSearchInputChange: ((gifSearchInput: any, __namedParameters?: { debounce: boolean }) => void) }

    • error: null
    • gifImages: IGif[]
    • isLoading: boolean
    • loadNextGifImages: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    • onGifSearchInputChange: ((gifSearchInput: any, __namedParameters?: { debounce: boolean }) => void)
        • (gifSearchInput: any, __namedParameters?: { debounce: boolean }): void
        • Parameters

          • gifSearchInput: any
          • __namedParameters: { debounce: boolean } = ...
            • debounce: boolean

          Returns void

  • useLoadStickerPacksEffect(): void
  • Returns void

  • useLoadUserReactions(__namedParameters: UseLoadUserReactionsArg): { loadUserReactions: ((__namedParameters: { targetIds: string[] }) => void) }
  • Parameters

    Returns { loadUserReactions: ((__namedParameters: { targetIds: string[] }) => void) }

    • loadUserReactions: ((__namedParameters: { targetIds: string[] }) => void)
        • (__namedParameters: { targetIds: string[] }): void
        • Parameters

          • __namedParameters: { targetIds: string[] }
            • targetIds: string[]

          Returns void

  • useLoadWidgetRewardsEffect(__namedParameters: Object): void
  • Parameters

    • __namedParameters: Object

    Returns void

  • usePredictionClaimRewardEffect(__namedParameters: Object): void
  • description

    usePredictionClaimRewardEffect hook claims the prediction reward whenever a prediction follow up based UI is rendered. Internally it calls claimPredictionWidgetRewards JS API.

    Parameters

    • __namedParameters: Object

    Returns void

  • description

    Listens to prediction follow up updates, and updates widget state and return followup widget details

    Parameters

    Returns { followUpWidget: IWidgetPayload }

    object with "followUpWidget" prop

  • useSelectedFieldStore<Store, SelectedValue>(store: Store, selectorFn?: (() => SelectedValue)): SelectedValue
  • Type Parameters

    • Store extends LLStore<unknown>

    • SelectedValue

    Parameters

    • store: Store
    • Optional selectorFn: (() => SelectedValue)
        • (): SelectedValue
        • Returns SelectedValue

    Returns SelectedValue

  • useStickerPicker(): { selectedStickerPackId: string; setSelectedStickerPackId: Dispatch<SetStateAction<string>> }
  • Returns { selectedStickerPackId: string; setSelectedStickerPackId: Dispatch<SetStateAction<string>> }

    • selectedStickerPackId: string
    • setSelectedStickerPackId: Dispatch<SetStateAction<string>>
  • useStyles<TStyles>(__namedParameters: UseStylesArg<TStyles>): TStyles
  • Type Parameters

    • TStyles

    Parameters

    Returns TStyles

  • useUserReactionsEffect(__namedParameters: Object): void
  • Parameters

    • __namedParameters: Object

    Returns void

  • useWidgetDismiss(__namedParameters: UseWidgetDismissArg): { dismiss: boolean; onDismissHandler: (() => void) }
  • Parameters

    Returns { dismiss: boolean; onDismissHandler: (() => void) }

    • dismiss: boolean
    • onDismissHandler: (() => void)
        • (): void
        • Returns void

  • description

    useWidgetExpiryEffect hook runs a timer to update widget UI phase to EXPIRED once the expiry time has passed. Expiry time is set when creating widget from producer suite

    since

    0.1.0

    Parameters

    Returns void

  • description

    useWidgetInteractiveTimeout hook is to derive resulted interactiveTimeout based on the passed interactiveTimeout value that in turns drives widget UI phases. For example, once the widget timeouts, widget UI phase would transition from INTERACTIVE to TIMED_OUT which would turn the widget into a non interact-able widget. Resulted interactiveTimeout value is used by LLWidgetHeader component.

    since

    0.1.0

    Parameters

    Returns UseWidgetInteractiveTimeoutResult

  • Parameters

    Returns { slideInOutStyles: { translateY: any }[] }

    • slideInOutStyles: { translateY: any }[]

Generated using TypeDoc