Open Yoorana opened 7 months ago
You can add sashRender={() => null} below the onChange to satisfy the requirement:
<SplitPane
sizes={sizes}
onChange={setSizes}
sashRender={() => null}
>
<Pane
className="emptyInvoiceView"
style={{ background: "grey", height: "100%" }}
minSize="10%"
>
<CreateEmptyInvoiceView />
</Pane>
</SplitPane>
Hey first time starting my own project, I started using SplitPane for a simple vertical pane from the storybook reference only sizes and onChange seems to be used as props This example here
As prop seems sashRender is also required, why is that? Could I get some help on this?
This is what I have written
Error message is