Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITreeProps

Hierarchy

  • ICreateStateByPropsParams
    • ITreeProps

Index

Properties

Optional autoExpandOnSelect

autoExpandOnSelect: boolean

Optional checkable

checkable: boolean

Optional checkedKeys

checkedKeys: TreeRootIdArray

Optional commonStyle

commonStyle: CSSProperties

data

data: ITreeData[]

Optional dataType

dataType: "tree" | "plain"

Optional disableSelectedStrictly

disableSelectedStrictly: boolean

Optional disabledCheckedKeys

disabledCheckedKeys: TreeRootIdArray

Optional disabledSelectedKeys

disabledSelectedKeys: TreeRootIdArray

Optional expandAll

expandAll: boolean

Optional foldable

foldable: boolean

Optional onlyShowOneLine

onlyShowOneLine: boolean

Optional operations

operations: ITreeOperation[]

Optional renderKey

renderKey: Partial<ITreeRenderKey>

Optional selectable

selectable: boolean

Optional selectedKey

selectedKey: string | number

Optional size

size: ITreeSize

Methods

Optional isRoot

Optional loadMore

Optional onCheck

Optional onExpand

  • onExpand(data: ITreeData, config: { isExpanded: boolean }): void

Optional onSelect

  • onSelect(data: ITreeData, target: HTMLSpanElement): void

Optional render

  • render(data: ITreeData, isExpanded?: boolean): ReactNode

Generated using TypeDoc