ui: add patch for react-split-pane

pull/523/head
undefined 2 years ago
parent fba19fd887
commit 6bf35f8f73
No known key found for this signature in database

@ -0,0 +1,12 @@
diff --git a/index.d.ts b/index.d.ts
index d116f54d6da12d24b48e24ff3636c9066059aa58..9d62eac28d5480aa6c2e796d603757d5999ea0af 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 = {

@ -79,6 +79,7 @@
"resolutions": {
"@types/node": "18.11.18",
"@types/react": "18.0.27",
"cosmokit": "1.4.0"
"cosmokit": "1.4.0",
"react-split-pane@^0.1.92": "patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch"
}
}

@ -1,5 +1,5 @@
declare module '*.svg?react' {
import { ComponentType } from 'react'
const content: ComponentType
export default content
}
import { ComponentType } from 'react';
const content: ComponentType;
export default content;
}

Loading…
Cancel
Save