@linktr.ee/messaging-react 1.9.2 → 1.10.0-rc-1764218520

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -118,10 +118,19 @@ declare interface MessagingContextValue {
118
118
  isLoading: boolean;
119
119
  error: string | null;
120
120
  capabilities: MessagingCapabilities;
121
+ customization: MessagingCustomization;
121
122
  refreshConnection: () => Promise<void>;
122
123
  debug: boolean;
123
124
  }
124
125
 
126
+ /**
127
+ * Customization options
128
+ */
129
+ declare interface MessagingCustomization {
130
+ theme?: 'light' | 'dark' | 'auto';
131
+ accentColor?: string;
132
+ }
133
+
125
134
  /**
126
135
  * Provider component that wraps messaging-core with React state management
127
136
  */
@@ -136,6 +145,7 @@ export declare interface MessagingProviderProps {
136
145
  serviceConfig: Omit<StreamChatServiceConfig, 'apiKey'>;
137
146
  apiKey: string;
138
147
  capabilities?: MessagingCapabilities;
148
+ customization?: MessagingCustomization;
139
149
  debug?: boolean;
140
150
  }
141
151
 
@@ -149,6 +159,7 @@ export declare const MessagingShell: default_2.FC<MessagingShellProps>;
149
159
  */
150
160
  export declare interface MessagingShellProps {
151
161
  capabilities?: MessagingCapabilities;
162
+ customization?: MessagingCustomization;
152
163
  className?: string;
153
164
  renderMessageInputActions?: (channel: Channel) => React.ReactNode;
154
165
  onChannelSelect?: (channel: Channel) => void;