> For the complete documentation index, see [llms.txt](https://cacilie.gitbook.io/react-minimalist-table/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cacilie.gitbook.io/react-minimalist-table/all-props.md).

# All props

List of all the existing props.

| PropName               | type              | Expected                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ---------------------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `caption`              | `string`          | Title to be displayed upon the table                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `data`                 | `arrayOf(object)` | JSON-array of the data to be displayed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `headerColor`          | `string`          | Background color to be applied to the header of the table                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `headerTextColor`      | `string`          | Text color to be applied do the header cells of the table                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `primaryColor`         | `string`          | Background color for even rows                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `secondaryColor`       | `string`          | Background color for odd rows                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `conditionalCellStyle` | arrayOf(object)   | <p>An array of rules in order to apply conditional Cell Styling. The object must include:</p><p><span data-gb-custom-inline data-tag="emoji" data-code="1f604">😄</span> <code>columns</code>: array of columns in which the conditional style will be applied.</p><p><span data-gb-custom-inline data-tag="emoji" data-code="1f604">😄</span><code>styleTrue</code>: style if validation returns true</p><p><span data-gb-custom-inline data-tag="emoji" data-code="1f604">😄</span><code>styleFalse</code>: style if validation returns false</p><p><span data-gb-custom-inline data-tag="emoji" data-code="1f604">😄</span><code>defaultStyle</code>: style if validation neither returns true nor false</p><p><span data-gb-custom-inline data-tag="emoji" data-code="1f604">😄</span><code>validation</code>: a function that should return either true of false in order to apply a style</p><p></p> |
