SplitterProps
Represents the options of the Splitter.
children?
React.ReactNode
The pane elements of the Splitter.
className?
string
The class name that is set to the Splitter.
defaultPanes?
Sets the initial options of the Splitter panes (more information and examples). Can be used for uncontrolled state.
onChange?
(event: SplitterOnChangeEvent) => void
Fires after a Splitter pane is resized or collapsed. Useful for updating the pane options and triggering layout calculations on components which are positioned inside the panes.
orientation?
"vertical" | "horizontal"
Specifies the orientation of the panes within the Splitter (more information and examples). Panes in a horizontal Splitter are placed horizontally. Panes in a vertical Splitter are placed vertically.
panes?
Sets the options of the Splitter panes (more information and examples). Can be used for controlled state.
style?
CSSProperties
Sets the styles of the Splitter.