pixel-react 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -9,7 +9,7 @@ export interface MiniEditModalProps {
9
9
  /**
10
10
  * A reference to the button element that triggers the modal.
11
11
  */
12
- anchorRef: RefObject<HTMLButtonElement>;
12
+ anchorRef: RefObject<HTMLButtonElement> | string;
13
13
  /**
14
14
  * Optional properties for configuring the modal header.
15
15
  */
package/lib/index.d.ts CHANGED
@@ -1283,7 +1283,7 @@ interface MiniEditModalProps {
1283
1283
  /**
1284
1284
  * A reference to the button element that triggers the modal.
1285
1285
  */
1286
- anchorRef: RefObject<HTMLButtonElement>;
1286
+ anchorRef: RefObject<HTMLButtonElement> | string;
1287
1287
  /**
1288
1288
  * Optional properties for configuring the modal header.
1289
1289
  */