Editor Layout
editor-layout.tsx
<SplitPane
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>The SplitPane component divides a surface into resizable start and end panes.
<SplitPane
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>// Themes
<SplitPane theme="primary"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane theme="secondary"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane theme="tertiary"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane theme="quaternary"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
// States
<SplitPane state="success"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane state="warning"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane state="error"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane state="info"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
// Sizes
<SplitPane
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={25}
/>
<SplitPane
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={40}
/>
<SplitPane
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={60}
/>
<SplitPane
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={75}
/>
// Variants
<SplitPane variant="solid"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane variant="outline"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane variant="glass"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
// Rounding
<SplitPane rounding="none"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane rounding="medium"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane rounding="large"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
// Shadows
<SplitPane shadow="none"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane shadow="light"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
<SplitPane shadow="strong"
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>// Disabled
<SplitPane disabled
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>
// Loading
<SplitPane loading
startPane={<strong>Navigation</strong>}
endPane={<span>Preview panel</span>}
defaultSize={42}
/>