-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathempty_state.2.example
More file actions
21 lines (21 loc) · 1018 Bytes
/
empty_state.2.example
File metadata and controls
21 lines (21 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
html!{
<EmptyState variant={EmptyStateVariant::XS}>
<EmptyStateHeader
title_text={html!("Empty state")}
heading_level={EmptyStateHeadingLevel::H4}
/>
<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::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>
}