@lifi/widget 2.0.0-alpha.1 → 2.0.0-alpha.2

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/types/widget.d.ts CHANGED
@@ -113,6 +113,10 @@ export type WidgetDrawerProps = {
113
113
  elementRef?: RefObject<HTMLDivElement>;
114
114
  open?: boolean;
115
115
  };
116
- export type WidgetProps = WidgetDrawerProps & WidgetConfig & {
117
- config?: WidgetConfig;
118
- };
116
+ export interface WidgetConfigProps {
117
+ config: WidgetConfig;
118
+ }
119
+ export interface WidgetConfigPartialProps {
120
+ config?: Partial<WidgetConfig>;
121
+ }
122
+ export type WidgetProps = WidgetDrawerProps & WidgetConfig & WidgetConfigPartialProps;