zeed-dynamic-table
Version:
A flexible and dynamic table component for React and Next.js applications without Tailwind dependencies
13 lines (12 loc) • 386 B
TypeScript
import React, { HTMLProps, ReactNode } from "react";
type TbodyTrProps = {
tBodyTrProps?: HTMLProps<HTMLTableRowElement>;
children: ReactNode;
};
/**
* TbodyTr component wraps the HTML tr element within tbody
* Handles alternate row coloring and applies custom props
* Updated with dark mode support
*/
declare const TbodyTr: React.FC<TbodyTrProps>;
export default TbodyTr;