Skip to main content

TableCellProps<T>

TableCellProps<T> = ComponentPropsWithRef<"td"> & VariantProps<typeof TableCellStyles> & object

Props for a table cell component.

Extends the standard HTML <td> element attributes and includes variant styling props.

Type Declaration

cell?

optional cell: Cell<T, unknown>

Type Parameters

T

T

Remarks

  • Inherits all properties from TdHTMLAttributes<HTMLTableCellElement>.
  • Includes variant properties from cellStyles.
  • Optionally accepts a ref to the underlying <td> element.