Includes additional PF toolbar components to complete the toolbar layout
I'm not certain that TableToolbar is the right component to use vs the PF Toolbar but am leaving it for the moment.
This commit is contained in:
parent
c6153c26b1
commit
b40f623f65
1 changed files with 8 additions and 3 deletions
|
|
@ -5,6 +5,7 @@ import { actions } from '../redux';
|
|||
import { Link } from 'react-router-dom';
|
||||
import { Table, TableHeader, TableBody, classNames, Visibility } from '@patternfly/react-table';
|
||||
import { TableToolbar } from '@redhat-cloud-services/frontend-components';
|
||||
import { ToolbarGroup, ToolbarItem } from '@patternfly/react-core';
|
||||
|
||||
import ImageBuildStatus from '../../PresentationalComponents/ImageBuildStatus/ImageBuildStatus';
|
||||
import Release from '../../PresentationalComponents/Release/Release';
|
||||
|
|
@ -77,9 +78,13 @@ class ImagesTable extends Component {
|
|||
return (
|
||||
<React.Fragment>
|
||||
<TableToolbar>
|
||||
<Link to="/imagewizard" className="pf-c-button pf-m-primary" data-testid="create-image-action">
|
||||
Create image
|
||||
</Link>
|
||||
<ToolbarGroup>
|
||||
<ToolbarItem>
|
||||
<Link to="/imagewizard" className="pf-c-button pf-m-primary" data-testid="create-image-action">
|
||||
Create image
|
||||
</Link>
|
||||
</ToolbarItem>
|
||||
</ToolbarGroup>
|
||||
</TableToolbar>
|
||||
<Table
|
||||
aria-label="Images"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue