Remove custom component

Remove custom component since PF issue is now fixed.

See: https://github.com/ansible/awx/issues/6351
This commit is contained in:
nixocio 2021-06-25 13:47:40 -04:00
parent 2afa406b7f
commit 18e63ae6da
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)`