UNPKG

tw-table

Version:

table designed with tailwind and tanstack-table.

11 lines (10 loc) 425 B
import React from 'react'; import { Row } from '@tanstack/react-table'; import { ResponsivenessType } from '../../components/types'; declare type Props<TData> = { row: Row<TData>; responsivenessType?: ResponsivenessType; viewType?: ResponsivenessType; }; declare const TableRow: <TData extends object>({ row, responsivenessType, viewType, }: Props<TData>) => React.JSX.Element; export default TableRow;