Table Cell

Individual data cell component used within table rows.

Basic Usage

Name
John Doe

With Width and Alignment

Name
Email
Status
Amount
John Doe
john@example.com
Active
$99.99
Jane Smith
jane@example.com
Pending
$149.50

With Fixed Width and Min Width

Name
Description
Price
Product A
High quality product with extended warranty
$299.99
interface TableCellProps {
  children: React.ReactNode;
  width?: string;      // e.g., '200px', '25%', 'auto'
  minWidth?: string;   // Minimum width constraint
  align?: 'left' | 'center' | 'right';  // Text alignment (default: 'left')
}