react-resizable-panels 4.3.0-alpha.1 → 4.3.0
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.
|
@@ -83,7 +83,7 @@ export declare type GroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
83
83
|
/**
|
|
84
84
|
* Ref attached to the root `HTMLDivElement`.
|
|
85
85
|
*/
|
|
86
|
-
elementRef?: Ref<HTMLDivElement> | undefined;
|
|
86
|
+
elementRef?: Ref<HTMLDivElement | null> | undefined;
|
|
87
87
|
/**
|
|
88
88
|
* Exposes the following imperative API:
|
|
89
89
|
* - `getLayout(): Layout`
|
|
@@ -241,7 +241,7 @@ export declare type PanelProps = BasePanelAttributes & {
|
|
|
241
241
|
/**
|
|
242
242
|
* Ref attached to the root `HTMLDivElement`.
|
|
243
243
|
*/
|
|
244
|
-
elementRef?: Ref<HTMLDivElement> | undefined;
|
|
244
|
+
elementRef?: Ref<HTMLDivElement | null> | undefined;
|
|
245
245
|
/**
|
|
246
246
|
* Uniquely identifies this panel within the parent group.
|
|
247
247
|
* Falls back to `useId` when not provided.
|