We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't make the exmaple from the wiki work:
<SplitPane split="vertical" collapseOptions={{ beforeToggleButton: <Button>⬅</Button>, afterToggleButton: <Button>➡</Button>, overlayCss: { backgroundColor: "black" }, buttonTransition: "zoom", buttonPositionOffset: -20, collapsedSize: 50, collapseTransitionTimeout: 350, }} >
Type '{ children: Element[]; split: "vertical"; collapseOptions: { beforeToggleButton: Element; afterToggleButton: Element; overlayCss: { backgroundColor: string; }; buttonTransition: string; buttonPositionOffset: number; collapsedSize: number; collapseTransitionTimeout: number; }; }' is not assignable to type 'IntrinsicAttributes & SplitPaneProps & { children?: ReactNode; }'. Property 'collapseOptions' does not exist on type 'IntrinsicAttributes & SplitPaneProps & { children?: ReactNode; }'.ts(2322)
The text was updated successfully, but these errors were encountered:
Use collapse={{ }}
Sorry, something went wrong.
No branches or pull requests
I can't make the exmaple from the wiki work:
The text was updated successfully, but these errors were encountered: