videowiseInfo | object | Yes | — | Store configuration (see below) |
widgetId | string | Yes | — | The ID of the Videowise widget |
style | StyleProp<ViewStyle> | No | — | Custom style overrides for the component wrapper |
videoId | string | No | '' | Specific video ID to display |
rightActionButtonsTop | number | No | 7 | Top offset (px) for the right action buttons (close, etc.) |
marketingLogoTop | number | No | 20 | Top offset (px) for the marketing logo |
shoppableTop | number | No | 0 | Top offset (px) for the shoppable product list |
shoppableBottom | number | No | 16 / 20 | Bottom padding (px) for shoppable UI |
shoppableCardListBottom | number | No | 0 | Bottom offset (px) for the shoppable card list |
shoppableListAspectRatio | `${number}/${number}` | `"auto"` | No | "1/1" | Aspect ratio of product list items |
disableIndependentApiCall | boolean | No | true | Disables independent API calls |
loggedInUserData | { email?: string; fullName?: string } | No | — | Logged-in user info passed to the embed |
onEvent | (event: OnEventType<'custom-event'>) => void | No | — | Callback for custom events |
onAddToCart | (event: OnEventType<'add-to-cart'>) => void | No | — | Callback when a product is added to cart |
onCheckout | (event: OnEventType<'custom-event'>) => void | No | — | Callback for checkout events |
environment | 'local' | 'staging' | 'production' | No | 'production' | Environment target |