Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "components/SelectableList/index"

Index

Type aliases

ClickInfo

ClickInfo: object

Type declaration

  • lastClickIndexWithoutShift: number
  • Optional lastShiftSelectionRange?: object
    • end: number
    • start: number

ClickInfoRef

ClickInfoRef: MutableRefObject<ClickInfo>

SelectableListValues

SelectableListValues: object

Type declaration

  • [key: string]: boolean

Variables

Const SelectableListContext

SelectableListContext: Context<object> = React.createContext<{selected: SelectableListValues;setSelected?: (seleted: SelectableListValues) => void;toggleOnSimpleClick?: boolean;getItemId?: (index: number) => string | number;clickInfoRef?: ClickInfoRef;}>({clickInfoRef: null,selected: {},getItemId: index => index,toggleOnSimpleClick: false,setSelected: (x: SelectableListValues) => {},})

Functions

Const SelectableList

  • Parameters

    Returns Element

Const useSelectionEvent

  • useSelectionEvent(): (Anonymous function)
  • Returns (Anonymous function)

Generated using TypeDoc