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