You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/official-site/sqlpage/migrations/60_empty_state.sql
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,9 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
13
13
('description','A short text displayed below the title.','TEXT',TRUE,TRUE),
14
14
('link_text','The text displayed on the button.','TEXT',TRUE,FALSE),
15
15
('link_icon','Name of an icon to be displayed on the left side of the button.','ICON',TRUE,FALSE),
16
-
('link','The URL to which the button should navigate when clicked.','URL',TRUE,FALSE)
16
+
('link','The URL to which the button should navigate when clicked.','URL',TRUE,FALSE),
17
+
('class','Class attribute added to the container in HTML. It can be used to apply custom styling to this item through css.','TEXT',TRUE,TRUE),
18
+
('id','ID attribute added to the container in HTML. It can be used to target this item through css or for scrolling to this item through links (use "#id" in link url).','TEXT',TRUE,TRUE)
17
19
) x;
18
20
19
21
INSERT INTO example(component, description, properties) VALUES
@@ -30,7 +32,8 @@ This example shows how to create a 404-style "Not Found" empty state with
30
32
"description": "Try adjusting your search or filter to find what you''re looking for.",
31
33
"link_text": "Search again",
32
34
"link_icon": "search",
33
-
"link": "#"
35
+
"link": "#not-found",
36
+
"id": "not-found"
34
37
}]')),
35
38
('empty_state', '
36
39
It''s possible to use an icon or an image to illustrate the problem.
0 commit comments