common-intellisense
Version:
49 lines (48 loc) • 1.46 kB
JSON
{
"props": [
{
"Attribute": "children",
"Type": "`RowElement` | `RowElement[]` | `((item: T) => RowElement)`",
"Description": "The contents of the table body. Supports static items or a function for dynamic rendering",
"Default": "-"
},
{
"Attribute": "items",
"Type": "`Iterable<T>`",
"Description": "A list of row objects in the table body used when dynamically rendering rows",
"Default": "-"
},
{
"Attribute": "isLoading",
"Type": "`boolean`",
"Description": "Whether the table body is loading.",
"Default": "-"
},
{
"Attribute": "loadingState",
"Type": "[LoadingState](#loading-state)",
"Description": "Handler that is called when more items should be loaded, e.g. while scrolling near the bottom",
"Default": "-"
},
{
"Attribute": "loadingContent",
"Type": "`ReactNode`",
"Description": "Content to display while loading more items",
"Default": "-"
},
{
"Attribute": "emptyContent",
"Type": "`ReactNode`",
"Description": "Content to display when there are no items in the table body",
"Default": "-"
}
],
"link": "https://nextui.org/docs/components/tablebody",
"events": [
{
"Attribute": "onLoadMore",
"Type": "`() => any`",
"Description": "A list of row objects in the table body used when dynamically rendering rows"
}
]
}