-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathempty_state.3.example
More file actions
27 lines (27 loc) · 1.23 KB
/
empty_state.3.example
File metadata and controls
27 lines (27 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
html!{
<EmptyState variant={EmptyStateVariant::SM}>
<EmptyStateHeader
title_text={html!("Empty state")}
heading_level={EmptyStateHeadingLevel::H4}
icon={html!(
<EmptyStateIcon icon={html!(<>{Icon::Cubes}</>)} />
)}
/>
<EmptyStateBody>
{"This represents the empty state pattern in PatternFly. Hopefully it's simple enough to use but flexible enough to meet a variety of needs."}
</EmptyStateBody>
<EmptyStateFooter>
<EmptyStateActions>
<Button variant={ButtonVariant::Primary}>{"Primary action"}</Button>
</EmptyStateActions>
<EmptyStateActions>
<Button variant={ButtonVariant::Link}>{"Multiple"}</Button>
<Button variant={ButtonVariant::Link}>{"Action Buttons"}</Button>
<Button variant={ButtonVariant::Link}>{"Can"}</Button>
<Button variant={ButtonVariant::Link}>{"Go here"}</Button>
<Button variant={ButtonVariant::Link}>{"In the secondary"}</Button>
<Button variant={ButtonVariant::Link}>{"Action area"}</Button>
</EmptyStateActions>
</EmptyStateFooter>
</EmptyState>
}