import React, { useState } from 'react'; import { SplitPane, Pane } from '../src'; export function BasicExample() { const [direction, setDirection] = useState<'horizontal' | 'vertical'>( 'horizontal' ); return (

Basic Split Pane

A simple two-pane layout.{' '}

Left Pane

minSize: 100px

Right Pane

Drag the divider to resize.

{` Left Right `}
); }