@bynder/compact-view 3.2.2 → 3.2.3

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/components.d.ts CHANGED
@@ -164,15 +164,17 @@ interface Props$7 {
164
164
  onRetry: () => void;
165
165
  }
166
166
  declare function Oops({ error, onRetry }: Props$7): JSX.Element;
167
+ interface ShadowRootProps {
168
+ children: React.ReactNode;
169
+ isLoginInContainer?: boolean;
170
+ }
167
171
  /**
168
172
  * This component will create a shadow root if it is the first ShadowRoot in the tree.
169
- * Otherwise it will just render it's childred. This is useful as we don't always know
173
+ * Otherwise, it will just render it's children. This is useful as we don't always know
170
174
  * which component will be first in the tree, especially when the components are used
171
175
  * externally from the npm package.
172
176
  */
173
- declare function ShadowRoot(props: {
174
- children: React.ReactNode;
175
- }): JSX.Element;
177
+ declare function ShadowRoot({ children, isLoginInContainer }: ShadowRootProps): JSX.Element;
176
178
  interface Props$8 {
177
179
  width?: number;
178
180
  className?: string;