UNPKG

rms-react

Version:

Библиотека React компонентов разработанная по дизайн системе РМ Солюшн

21 lines 1.04 kB
import React, { DetailedHTMLProps, HTMLProps } from 'react'; import { TableCellProps } from '../TableCell'; import { TableInputCellProps } from '../TableInputCell'; type CellType = TableCellProps | TableInputCellProps | string; export interface TableRowProps extends Omit<DetailedHTMLProps<HTMLProps<HTMLUListElement>, HTMLUListElement>, 'onSelect' | 'size' | 'ref' | 'type'>, Pick<TableCellProps, 'type' | 'size'> { cells: CellType[]; selected?: boolean; onSelect?: (rowId: string, evt: React.ChangeEvent<HTMLInputElement>) => void; isDotsCellHidden?: boolean; isDotsHidden?: boolean; onDotsClick?: (rowId: string, evt: React.MouseEvent) => void; gridTemplateColumns?: string; hovering?: boolean; cellsStyle?: React.CSSProperties; stickySelect?: boolean; stickyDots?: boolean; } export declare const isInputCell: (cell: CellType) => cell is TableInputCellProps; export declare const isDefaultCell: (cell: CellType) => cell is TableCellProps; export {}; //# sourceMappingURL=TableRow.props.d.ts.map