react-resizable-panels 4.3.0-alpha.0 → 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`
|
|
@@ -91,7 +91,7 @@ export declare type GroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
91
91
|
*
|
|
92
92
|
* ℹ️ The `useGroupRef` and `useGroupCallbackRef` hooks are exported for convenience use in TypeScript projects.
|
|
93
93
|
*/
|
|
94
|
-
groupRef?: Ref<GroupImperativeHandle> | undefined;
|
|
94
|
+
groupRef?: Ref<GroupImperativeHandle | null> | undefined;
|
|
95
95
|
/**
|
|
96
96
|
* Uniquely identifies this group within an application.
|
|
97
97
|
* Falls back to `useId` when not provided.
|
|
@@ -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.
|
|
@@ -277,7 +277,7 @@ export declare type PanelProps = BasePanelAttributes & {
|
|
|
277
277
|
*
|
|
278
278
|
* ℹ️ The `usePanelRef` and `usePanelCallbackRef` hooks are exported for convenience use in TypeScript projects.
|
|
279
279
|
*/
|
|
280
|
-
panelRef?: Ref<PanelImperativeHandle> | undefined;
|
|
280
|
+
panelRef?: Ref<PanelImperativeHandle | null> | undefined;
|
|
281
281
|
/**
|
|
282
282
|
* CSS properties.
|
|
283
283
|
*
|