Merge pull request #10520 from nixocio/ui_issue_6351

Remove custom component

Remove custom component since PF issue is now fixed.
Closes: #6351

Reviewed-by: Alex Corey <Alex.swansboro@gmail.com>
Reviewed-by: Tiago Góes <tiago.goes2009@gmail.com>
This commit is contained in:
softwarefactory-project-zuul[bot]
2021-07-12 18:32:38 +00:00
committed by GitHub
3 changed files with 1 additions and 14 deletions

View File

@@ -1,12 +0,0 @@
import { DataListCell as PFDataListCell } from '@patternfly/react-core';
import styled from 'styled-components';
PFDataListCell.displayName = 'PFDataListCell';
// Once https://github.com/patternfly/patternfly-react/issues/3938
// has been resolved this component can be removed
const DataListCell = styled(PFDataListCell)`
word-break: break-word;
`;
DataListCell.displayName = 'DataListCell';
export default DataListCell;

View File

@@ -1 +0,0 @@
export { default } from './DataListCell';

View File

@@ -7,6 +7,7 @@ import {
Button as _Button,
Chip,
DataListAction as _DataListAction,
DataListCell,
DataListCheck,
DataListItemCells,
DataListItemRow,
@@ -16,7 +17,6 @@ import {
} from '@patternfly/react-core';
import { CaretDownIcon, CaretUpIcon } from '@patternfly/react-icons';
import styled from 'styled-components';
import DataListCell from '../../../components/DataListCell';
import ChipGroup from '../../../components/ChipGroup';
const DataListAction = styled(_DataListAction)`