Property 'sashRender' is missing in type '{ children: Element[]; sizes: (string | number)[]; onChange: Dispatch<SetStateAction<(string | number)[]>>; }' but required in type 'ISplitProps'.ts(2741)
I suppose you should accept undefined for sashRender.
Had to add sashRender={() => null} to make TS accept it.
Thanks for the good job! Nice lib handling the border cases nicely!
Property 'sashRender' is missing in type '{ children: Element[]; sizes: (string | number)[]; onChange: Dispatch<SetStateAction<(string | number)[]>>; }' but required in type 'ISplitProps'.ts(2741)
I suppose you should accept
undefinedfor sashRender.Had to add
sashRender={() => null}to make TS accept it.Thanks for the good job! Nice lib handling the border cases nicely!