-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels