@@ -3,7 +3,7 @@ INSERT INTO component(name, icon, description, introduced_in_version) VALUES
3
3
4
4
INSERT INTO parameter(component, name, description, type, top_level, optional) SELECT ' empty_state' , * FROM (VALUES
5
5
(' title' ,' Description of the empty state.' ,' TEXT' ,TRUE,FALSE),
6
- (' status_code ' ,' HTTP status code displayed on the top of the empty state.' ,' INTEGER ' ,TRUE,TRUE),
6
+ (' header ' ,' Text displayed on the top of the empty state.' ,' TEXT ' ,TRUE,TRUE),
7
7
(' icon' ,' Name of an icon to be displayed on the top of the empty state.' ,' ICON' ,TRUE,TRUE),
8
8
(' image' ,' The URL (absolute or relative) of an image to display at the top of the empty state.' ,' URL' ,TRUE,TRUE),
9
9
(' description' ,' A short text displayed below the title.' ,' TEXT' ,TRUE,TRUE),
@@ -19,7 +19,7 @@ The empty_state component provides users with informative and visually appealing
19
19
json(' [{
20
20
"component": "empty_state",
21
21
"title": "No results found",
22
- "status_code ": 404,
22
+ "header ": " 404" ,
23
23
"description": "Try adjusting your search or filter to find what you' ' re looking for.",
24
24
"link_text": "Search again",
25
25
"link_icon": "search",
0 commit comments