LLPredictionFollowUpWidget

🚧

Pre-requisite

Make sure you initialise React Native SDK.

LLPredictionFollowUpWidget is a prediction based non interact-able widget UI component. This widget UI supports two kinds of widget:

  1. WidgetKind.TEXT_PREDICTION
  2. WidgetKind.IMAGE_PREDICTION
import { LLPredictionFollowUpWidget } from '@livelike/react-native';
import { WidgetKind } from '@livelike/javascript';

export function MyWidgetContainer() {
  return (
    <LLPredictionFollowUpWidget
      programId="xxxxx"
      widgetId="yyyyy"
      widgetKind={WidgetKind.IMAGE_PREDICTION}
    />
  );
}

Hooks used by LLPredictionFollowUpWidget

LLPredictionFollowUpWidget Props

📘

Customisation

Refer customisation core concepts to understand different level of component customisation.

programId

TypeDefault
String (Required)No Default

This is the Id of the program in which a given widget is published

widgetId

TypeDefault
String (Required)No Default

widgetKind

TypeDefault
WidgetKind (Required)No Default