UNPKG

@mui/x-data-grid-pro

Version:

The Pro plan edition of the MUI X Data Grid components.

39 lines 1.47 kB
import * as React from 'react'; import type { GridRenderCellParams, ValueOptions, GridSlotProps } from '@mui/x-data-grid'; import type { GridAggregationCellMeta } from '@mui/x-data-grid/internals'; export interface GridMultiSelectCellProps<V extends ValueOptions = ValueOptions> extends GridRenderCellParams { /** * Props passed to internal components. */ slotProps?: { /** * Props passed to the root element. */ root?: React.HTMLAttributes<HTMLDivElement>; /** * Props passed to the chip elements. * Can be an object or a function that receives the chip value and index. */ chip?: Partial<GridSlotProps['baseChip']> | ((value: V, index: number) => Partial<GridSlotProps['baseChip']>); /** * Props passed to the overflow chip element. */ overflowChip?: Partial<GridSlotProps['baseChip']>; /** * Props passed to the popper element. */ popper?: Partial<GridSlotProps['basePopper']>; /** * Props passed to the popper content element. */ popperContent?: React.HTMLAttributes<HTMLDivElement>; }; } declare function GridMultiSelectCell<V extends ValueOptions = ValueOptions>(props: GridMultiSelectCellProps<V>): React.JSX.Element | null; declare namespace GridMultiSelectCell { var propTypes: any; } export { GridMultiSelectCell }; export declare const renderMultiSelectCell: (params: GridMultiSelectCellProps & { aggregation?: GridAggregationCellMeta; }) => any;