@cmk/fe_utils
Version:
frontend utility library
14 lines (12 loc) • 530 B
TypeScript
import { MouseEvent, PropsWithChildren } from 'react';
import { TableProps } from '../types';
export declare const RowComponent: (props: PropsWithChildren<{
bind: (...params: unknown[]) => Record<string, unknown>;
getTrProps: TableProps["getTrProps"];
onClick?: (e?: MouseEvent<HTMLDivElement>) => void;
row: TableProps["data"][0];
getTrLeftBorderColor: TableProps["getTrLeftBorderColor"];
rowIdx: number;
isDragged?: boolean;
enableDrag?: boolean;
}>) => import("react/jsx-runtime").JSX.Element;