Table

Tables are bad. Except when they're not. Use it to display tabular data

Props

Table

Prop nameTypeDefaultDescription
classNamestringnullA custom className you would like to pass to the Component
childrenunionRequiredThe content of the Table

TableHead

Prop nameTypeDefaultDescription
classNamestringnullA custom className you would like to pass to the Component
paddingstringnullThe padding string to be applied to the TableRow.
childrenunionRequiredThe children of the TableHead

TableBody

Prop nameTypeDefaultDescription
classNamestringnullA custom className you would like to pass to the Component
childrenunionRequiredThe children of the TableBody

TableHeadCell

Prop nameTypeDefaultDescription
alignenum'left'Text alignment for the cell
widthstring'auto'Width of the cell/column
classNamestringnullA custom className you would like to pass to the Component
paddingstringnullThe padding value to be used on the Row. Based on the bootstrap padding classes
childrenunionRequiredThe content of the TableHeadCell

TableRow

Prop nameTypeDefaultDescription
classNamestringnullA custom className you would like to pass to the Component
paddingstringnullThe padding string to be applied to the TableRow.
childrenunionRequiredThe content of the TableRow

TableCell

Prop nameTypeDefaultDescription
alignenum'left'Text alignment for the cell
classNamestringnullA custom className you would like to pass to the Component
paddingstringnullThe padding value to be used on the Row. Based on the bootstrap padding classes
childrenunionRequiredThe content of the TableCell