UNPKG

@neynar/ui

Version:

React UI component library built on shadcn/ui and Tailwind CSS

42 lines (31 loc) 867 B
# TableRow **Type**: component TableRow - A table row component with interactive states Represents a single row in the table with hover effects and selection support. Supports data-state attributes for visual feedback and proper border styling. Essential building block for all table content areas. ## JSX Usage ```jsx import { TableRow } from '@neynar/ui'; <TableRow className="value" "data-state"={value} > {/* Your content here */} </TableRow> ``` ## Component Props ### className - **Type**: `string` - **Required**: No - **Description**: No description available ### children - **Type**: `React.ReactNode` - **Required**: No - **Description**: No description available ### "data-state" - **Type**: `"selected" | "unselected"` - **Required**: No - **Description**: No description available ## Examples ```tsx // Basic row <TableRow> <TableCell>