Options
All
  • Public
  • Public/Protected
  • All
Menu

MUI Tree Select

Index

Functions

  • TreeSelect<Node, Multiple, DisableClearable, FreeSolo>(props: TreeSelectProps<Node, Multiple, DisableClearable, FreeSolo>): Element
  • Type parameters

    • Node

    • Multiple: undefined | boolean = undefined

    • DisableClearable: undefined | boolean = undefined

    • FreeSolo: undefined | boolean = undefined

    Parameters

    Returns Element

Type aliases

PathDirection: "up" | "down"

Indicates the tree navigation direction. "up" in the direction of ancestors and "down"in the direction of descendants.

RenderOption<Node, FreeSolo>: (props: React.HTMLAttributes<HTMLLIElement> & { key: React.Key }, option: Node | TreeSelectFreeSoloValueMapping<Node, FreeSolo>, state: TreeSelectRenderOptionState) => React.ReactNode

Type parameters

  • Node

  • FreeSolo: boolean | undefined

Type declaration

SyncOrAsync<T>: T | Promise<T>

Type parameters

  • T

TreeSelectFreeSoloValueMapping<Node, FreeSolo>: FreeSolo extends true ? FreeSoloNode<Node> : never

Type parameters

  • Node

  • FreeSolo

TreeSelectValue<Node, Multiple, DisableClearable, FreeSolo>: AutocompleteValue<Node | TreeSelectFreeSoloValueMapping<Node, FreeSolo>, Multiple, DisableClearable, false>

Utility type that gives the tree select value type.

Type parameters

  • Node

  • Multiple: boolean | undefined

  • DisableClearable: boolean | undefined

  • FreeSolo: boolean | undefined

References

Renames and re-exports TreeSelect

Generated using TypeDoc