@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.
- package/expand.d.ts +2 -1
- 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 {};
|