React.ReactNode | ((context: LiveChatDetailsContext) => React.ReactNode)
| Child components or a render function to access context values.|
+| `onSectionLoad` | No | `() => ISection` | Callback function invoked when a section loads. |
+
+Customer: {customerProfile.name}
} +Customer: {customerProfile.name}
} +ICustomerProfile | null
| The customer profile data, if available. |
+
+## LiveChat Fullscreen
+
+This module provides a context implementation for managing a LiveChat Fullscreen Widget using the LiveChat Agent App SDK in a React application. It includes tools for initializing and accessing the fullscreen widget, ensuring seamless integration within React components.
+
+### LiveChatFullscreenProvider
+
+Type: `React.FC<{ children: React.ReactNode | ((context: LiveChatFullscreenContext) => React.ReactNode) }>`
+
+A provider component that initializes the LiveChat Fullscreen Widget and supplies its context to child components.
+
+| Prop | Required | Type | Description |
+| ---- | ---- | ---- | ----------- |
+| `children` | Yes | React.ReactNode | ((context: LiveChatFullscreenContext) => React.ReactNode)
| Child components or a render function to access context values.|
+
+React.ReactNode | ((context: LiveChatMessageBoxContext) => React.ReactNode)
| Child components or a render function to access context values.|
+
+Customer: {customerProfile.name}
} +Customer: {customerProfile.name}
} +ICustomerProfile | null
| The customer profile data, if available. |
+
+## HelpDesk Details
+
+### HelpDeskDetailsProvider
+
+A provider component that initializes the HelpDesk widget and supplies its context to child components.
+
+| Prop | Required | Type | Description |
+| ---- | ---- | ---- | ----------- |
+| `children` | Yes | React.ReactNode | ((context: HelpDeskDetailsContext) => React.ReactNode)
| Child components or a render function to access context values.|
+| `onSectionLoad` | No | `() => ISection` | Callback function invoked when a section loads. |
+
+Ticket ID: {ticketInfo.id}
} +Ticket ID: {ticketInfo.id}
} +ITicketInfo | null
| Callback function invoked when a section loads. |
+
+## HelpDesk Fullscreen
+
+### HelpDeskFullscreenProvider
+
+A provider component that initializes the fullscreen widget and supplies its context to child components.
+
+| Prop | Required | Type | Description |
+| ---- | ---- | ---- | ----------- |
+| `children` | Yes | React.ReactNode | ((context: HelpDeskFullscreenContext) => React.ReactNode)
| Child components or a render function to access context values.|
+
+...Context
with ...Provider
.use...
hook for function components to simplify accessing context values.with...
HOC for class components or components that prefer HOC patterns.use...
hook and the with...
HOC throw an error if the ...Context
is not wrapping the component tree....Provider
renders an AppError
component with an error message.AppLoader
component is displayed.'livechat' | 'helpdesk'
| The product that the application is integrated with.