1 {
2 "description": "This component renders the table in a data table, supporting advanced features.",
3 "methods": [],
4 "displayName": "DataTable.Table",
5 "props": {
6 "emptyState": {
7 "required": false,
8 "tsType": {
9 "name": "signature",
10 "type": "object",
11 "raw": "{\n /**\n * The empty state to display when the table is filtered, but no rows are found.\n */\n filtered?: DataTableEmptyStateContent\n /**\n * The empty state to display when the table is empty.\n */\n empty?: DataTableEmptyStateContent\n}",
12 "signature": {
13 "properties": [
14 {
15 "key": "filtered",
16 "value": {
17 "name": "signature",
18 "type": "object",
19 "raw": "{\n /**\n * The heading to display in the empty state.\n */\n heading?: string\n /**\n * The description to display in the empty state.\n */\n description?: string\n /**\n * A custom component to display in the empty state, if provided it will override the heading and description.\n */\n custom?: React.ReactNode\n}",
20 "signature": {
21 "properties": [
22 {
23 "key": "heading",
24 "value": {
25 "name": "string",
26 "required": false
27 },
28 "description": "The heading to display in the empty state."
29 },
30 {
31 "key": "description",
32 "value": {
33 "name": "string",
34 "required": false
35 },
36 "description": "The description to display in the empty state."
37 },
38 {
39 "key": "custom",
40 "value": {
41 "name": "ReactReactNode",
42 "raw": "React.ReactNode",
43 "required": false
44 },
45 "description": "A custom component to display in the empty state, if provided it will override the heading and description."
46 }
47 ]
48 },
49 "required": false
50 },
51 "description": "The empty state to display when the table is filtered, but no rows are found."
52 },
53 {
54 "key": "empty",
55 "value": {
56 "name": "signature",
57 "type": "object",
58 "raw": "{\n /**\n * The heading to display in the empty state.\n */\n heading?: string\n /**\n * The description to display in the empty state.\n */\n description?: string\n /**\n * A custom component to display in the empty state, if provided it will override the heading and description.\n */\n custom?: React.ReactNode\n}",
59 "signature": {
60 "properties": [
61 {
62 "key": "heading",
63 "value": {
64 "name": "string",
65 "required": false
66 },
67 "description": "The heading to display in the empty state."
68 },
69 {
70 "key": "description",
71 "value": {
72 "name": "string",
73 "required": false
74 },
75 "description": "The description to display in the empty state."
76 },
77 {
78 "key": "custom",
79 "value": {
80 "name": "ReactReactNode",
81 "raw": "React.ReactNode",
82 "required": false
83 },
84 "description": "A custom component to display in the empty state, if provided it will override the heading and description."
85 }
86 ]
87 },
88 "required": false
89 },
90 "description": "The empty state to display when the table is empty."
91 }
92 ]
93 }
94 },
95 "description": "The empty state to display when the table is empty."
96 }
97 }
98 }