Represents the props for the IListPicker component.

interface IListPickerProps<RowData extends IRowData = IAnything> {
    columns: Omit<IColumn<RowData, any, any>, "width" | "headerName">[];
    features?:
        | string[]
        | Record<string, Value>
        | () => string[] | Record<string, Value>;
    handler: ListHandler<RowData, any, any>;
    minHeight: number;
    minWidth: number;
    onChange: (data: null | RowId[]) => void;
    open: boolean;
    payload?: any;
    rowActions?: IListRowAction<any, any>[];
    selectedRows: null | RowId[];
    selectionMode: Single | Multiple;
    title: string;
}

Type Parameters

Properties

columns: Omit<IColumn<RowData, any, any>, "width" | "headerName">[]
features?:
    | string[]
    | Record<string, Value>
    | () => string[] | Record<string, Value>
handler: ListHandler<RowData, any, any>
minHeight: number
minWidth: number
onChange: (data: null | RowId[]) => void
open: boolean
payload?: any
rowActions?: IListRowAction<any, any>[]
selectedRows: null | RowId[]
selectionMode: Single | Multiple
title: string