Split

import { Split } from '@hanzo/ui/product'

No examples yet.

Types

export type SplitProps = {
left: ReactNode
right: ReactNode
/** Where the handle starts, as a percentage of the width. */
defaultSplit?: number
/** How narrow the left pane may get, as a percentage. */
min?: number
/** How wide the left pane may get, as a percentage. */
max?: number
onSplitChange?: (split: number) => void
}

Exports

Splittype SplitProps