docs: add documentation for DataTable (#11095)
* docs: add documentation for DataTable * update package versions
This commit is contained in:
23
www/apps/ui/src/specs/DataTable/DataTable.CommandBar.json
Normal file
23
www/apps/ui/src/specs/DataTable/DataTable.CommandBar.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"description": "This component adds a command bar to the data table, which is used\nto show commands that can be executed on the selected rows.",
|
||||
"methods": [],
|
||||
"displayName": "DataTable.CommandBar",
|
||||
"props": {
|
||||
"selectedLabel": {
|
||||
"required": false,
|
||||
"tsType": {
|
||||
"name": "union",
|
||||
"raw": "((count: number) => string) | string",
|
||||
"elements": [
|
||||
{
|
||||
"name": "unknown"
|
||||
},
|
||||
{
|
||||
"name": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "The label to show when items are selected. If a function is passed, \nit will be called with the count of selected items."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user