@pushwoosh/kit-helpers 4.2.1 → 4.2.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.
Files changed (2) hide show
  1. package/expand.d.ts +2 -1
  2. package/package.json +1 -1
package/expand.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React, { type FC, type PropsWithChildren } from 'react';
1
+ import React, { type FC, type PropsWithChildren, type ReactNode } from 'react';
2
2
  type ExpandTransitionProps = {
3
3
  className?: string;
4
4
  timeout?: number;
@@ -11,6 +11,7 @@ type CollapseProps = PropsWithChildren<{
11
11
  timeout?: number;
12
12
  className?: string;
13
13
  internalClassName?: string;
14
+ children: (() => ReactNode) | ReactNode;
14
15
  }>;
15
16
  export declare const Collapse: FC<CollapseProps>;
16
17
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/kit-helpers",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "React component for build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",