-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11cae0f
commit 2f3a474
Showing
3 changed files
with
13 additions
and
20 deletions.
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
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 |
---|---|---|
@@ -1,25 +1,18 @@ | ||
import * as React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import MiqStructuredList from '../miq-structured-list'; | ||
|
||
export default function EmptyGroup(props) { | ||
const { title, text } = props; | ||
const { title } = props; | ||
return ( | ||
<table className="table table-bordered table-striped table-summary-screen"> | ||
<thead> | ||
<tr> | ||
<th>{title}</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>{text}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<MiqStructuredList | ||
rows={[]} | ||
title={title} | ||
mode="generic_group" | ||
/> | ||
); | ||
} | ||
|
||
EmptyGroup.propTypes = { | ||
title: PropTypes.string.isRequired, | ||
text: PropTypes.string.isRequired, | ||
}; |
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