From e24da7212ad98d26a6400fdd675835cdf787a20b Mon Sep 17 00:00:00 2001 From: alexe Date: Wed, 11 May 2022 08:35:04 +0200 Subject: [PATCH] add children to typings to support removal of same in react 18 typings --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index d116f54d..93290945 100644 --- a/index.d.ts +++ b/index.d.ts @@ -25,6 +25,7 @@ export type SplitPaneProps = { pane2Style?: React.CSSProperties; resizerClassName?: string; step?: number; + children?: React.ReactNode; }; export type SplitPaneState = {