mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: add patch for react-split-pane
This commit is contained in:
3 files changed
+18
-5
No files matched your search
@@ -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 = {
|
||||||
+2
-1
@@ -79,6 +79,7 @@
|
|||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@types/node": "18.11.18",
|
"@types/node": "18.11.18",
|
||||||
"@types/react": "18.0.27",
|
"@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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Vendored
+4
-4
@@ -1,5 +1,5 @@
|
|||||||
declare module '*.svg?react' {
|
declare module '*.svg?react' {
|
||||||
import { ComponentType } from 'react'
|
import { ComponentType } from 'react';
|
||||||
const content: ComponentType
|
const content: ComponentType;
|
||||||
export default content
|
export default content;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user