import { CSmartTableBody } from '@coreui/react-pro'// orimport CSmartTableBody from '@coreui/react-pro/src/components/smart-table/CSmartTableBody'| Property | Description | Type | Default |
|---|---|---|---|
| className | A string of all className you want applied to the component. | string | - |
| clickableRows | - | boolean | - |
| color | Sets the color context of the component to one of CoreUI’s themed colors. | 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string | - |
| columnNames | - | string[] | - |
| currentItems | - | Item[] | - |
| firstItemOnActivePageIndex | - | number | - |
| noItemsLabel | - | ReactNode | - |
| onRowChecked | - | (item: Item, value: boolean) => void | - |
| onRowClick | - | (item: Item, index: number, columnName: string, event: boolean | MouseEvent<Element, MouseEvent>) => void | - |
| scopedColumns | - | ScopedColumns | - |
| selectable | - | boolean | - |
| selected | - | Item[] | - |
On this page