Skip to main content
Version: Next

Table API

import { Table } from '@editora/ui-react';

Props​

PropTypeDescription
borderedboolean
childrenReact.ReactNode
compactboolean
emptyTextstring
headlessboolean
hoverboolean
loadingboolean
multiSelectboolean
onRowSelect(detail: TableRowSelectDetail) => void
onSortChange(detail: TableSortChangeDetail) => void
selectableboolean
sortableboolean
stickyHeaderboolean
stripedboolean

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-table>​

Table renders the ui-table custom element from @editora/ui-core, which can also be used without React.

Attributes: empty-text, headless, multi-select, selectable, sortable

Events: row-select, sort-change