Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SplitData<T>

Describes a node in the split tree. Do not implement this interface yourself, use getSplitData to obtain an instance.

Type parameters

  • T = React.ReactNode

    type of leaves

Hierarchy

  • SplitData

Index

Properties

Properties

axis

axis: Axis

Whether to lay out the items horizontally (x) or vertically (y).

children

children: SplitChild<T>[]

Subcontainers or sub-elements, and their respective ratios.

Generated using TypeDoc