UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

16 lines (15 loc) 580 B
import * as React from 'react'; import { SyntheticEvent, HTMLProps } from 'react'; type SelectableListValues = { [key: string]: boolean; }; export declare const useSelectionEvent: () => (event: SyntheticEvent, { index }: { index: number; }) => void; interface SelectableListProps { onSelectedChange?: (selected: SelectableListValues) => void; toggleOnSimpleClick?: boolean; getItemId: (index: number) => string | number; } declare const SelectableList: (props: HTMLProps<HTMLElement> & SelectableListProps) => React.JSX.Element; export default SelectableList;