import { CommonProps, Refable } from "@trackunit/react-components"; import { HTMLAttributes, ReactNode } from "react"; export interface TrProps extends CommonProps, HTMLAttributes, Refable { /** * A id that can be used in tests to get the component */ "data-testid"?: string; /** * Custom classNames that will be merged with the default classNames. */ className?: string; /** * Children to render in the table row. */ children?: ReactNode; /** * Defines the layout of the table row. * Flex layout is used for tables where the width is controlled. * For tables with column resizing, the flex layout should be used. * * @default default */ layout?: "default" | "flex"; } /** * The Tr is a wrapper for the tr html element. * It is used to render a table, and adds some default styling. * * In most cases, we recommend using the Table Component over the Table Base Components. * However, if you need to construct a custom table, the Table Base Components can be utilized. * * @param {TrProps} props - The props for the Tr component * @returns {ReactElement} Tr component */ export declare const Tr: ({ "data-testid": dataTestId, className, children, layout, ref, ...rest }: TrProps) => import("react/jsx-runtime").JSX.Element;