yyllff
yyllff
> Property 'sashRender' is missing in type '{ children: Element[]; sizes: (string | number)[]; onChange: Dispatch; }' but required in type 'ISplitProps'.ts(2741) > > I suppose you should accept `undefined`...
> maybe we need to let the `SplitPane` children support `null` 最近有点忙,你有时间可以修复一下,然后提一个merge request。我得忙完了这阵才有精力看这个问题。
> ```js > const MyPane = ({children}) => ({children}); > > const MyPage = () => ( > > Foo > Bar > > ); > ``` >```jsx >const MyPage...
> And as a long term solution it would make more sense to use Context/Provider and make the `SplitPane` provide some functions that `Pane` can use to register itself, e.g....
> After loosening up tsconfig.json the above is ignored, but then I have these: > > ``` > #26 4.052 node_modules/split-pane-react/src/SplitPane.tsx(60,30): error TS7053: Element implicitly has an 'any' type because...