-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1391 from jschuler/mtv-1690
MTV-1690: Plan wizard - Step 2 - Update mappings section
- Loading branch information
Showing
5 changed files
with
152 additions
and
62 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
34 changes: 34 additions & 0 deletions
34
...klift-console-plugin/src/modules/Providers/views/migrate/components/MappingListHeader.tsx
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,34 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
DataList, | ||
DataListAction, | ||
DataListCell, | ||
DataListItem, | ||
DataListItemCells, | ||
DataListItemRow, | ||
} from '@patternfly/react-core'; | ||
|
||
export const MappingListHeader = ({ | ||
sourceHeading, | ||
destinationHeading, | ||
}: { | ||
sourceHeading: string; | ||
destinationHeading: string; | ||
}) => ( | ||
<DataList isCompact aria-label="" className="forklift-page-mapping-list--header"> | ||
<DataListItem aria-labelledby=""> | ||
<DataListItemRow> | ||
<DataListItemCells | ||
dataListCells={[ | ||
<DataListCell key="source">{sourceHeading}</DataListCell>, | ||
<DataListCell key="destination">{destinationHeading}</DataListCell>, | ||
]} | ||
/> | ||
<DataListAction aria-label="empty" id="empty" aria-labelledby="" aria-hidden> | ||
<div className="forklift-page-mapping-list--header-action-spacer"></div> | ||
</DataListAction> | ||
</DataListItemRow> | ||
</DataListItem> | ||
</DataList> | ||
); |
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