This repository has been archived by the owner on Apr 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced patternfly empty state for Baremetal inventory
Implemented HostsEmptyState component for Baremetal inventory.
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React from 'react'; | ||
import { | ||
Title, | ||
EmptyState, | ||
EmptyStateBody, | ||
Bullseye | ||
} from '@patternfly/react-core'; | ||
|
||
class HostsEmptyState extends React.Component { | ||
render(): JSX.Element { | ||
return ( | ||
<Bullseye> | ||
<EmptyState> | ||
<Title size="lg">No hosts connected</Title> | ||
<EmptyStateBody> | ||
Connect at least 3 hosts to your cluster to pool | ||
<br /> | ||
together resources and start running workloads. | ||
</EmptyStateBody> | ||
</EmptyState> | ||
</Bullseye> | ||
); | ||
} | ||
} | ||
|
||
export default HostsEmptyState; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters