Table

The Table component is used to show information.

1. Import

KUMUI exports 6 Table-related components:

import {   Table,
  TableBody,
  TableCell,
  TableHead,
  TableHeader,
  TableRow, } from "@rohitgadekar/kimui";

2. Usage


NameStatusRole
John DoeActiveDeveloper
John DoeActiveDeveloper
John DoeActiveDeveloper
John DoeActiveDeveloper

3. API

3.1 Table

NameStatusRole
John DoeActiveDeveloper
John DoeActiveDeveloper
John DoeActiveDeveloper
John DoeActiveDeveloper

3.2 TableHeader

AttributeTypeDescriptionDefault
children

React.ReactNode

Contains the heading row for the table-

3.3 TableRow

AttributeTypeDescriptionDefault
children

React.ReactNode

Represents each row of data in the table-

3.4 TableHead

AttributeTypeDescriptionDefault
children

React.ReactNode

Represents the heading of a column-

3.5 TableBody

AttributeTypeDescriptionDefault
children

React.ReactNode

Contains all the data rows of the table-

3.6 TableCell

AttributeTypeDescriptionDefault
children

React.ReactNode

Represents a single cell in a row-