From b3929d1177a3d08b1e7872c9feac623c564b71dd Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 3 Feb 2020 17:57:34 -0500 Subject: [PATCH] Remove HorizontalSeparator component. Patternfly now has a Divider component that we can use if we need something like this. --- .../HorizontalSeparator/HorizontalSeparator.jsx | 14 -------------- .../HorizontalSeparator.test.jsx | 11 ----------- .../src/components/HorizontalSeparator/index.js | 1 - 3 files changed, 26 deletions(-) delete mode 100644 awx/ui_next/src/components/HorizontalSeparator/HorizontalSeparator.jsx delete mode 100644 awx/ui_next/src/components/HorizontalSeparator/HorizontalSeparator.test.jsx delete mode 100644 awx/ui_next/src/components/HorizontalSeparator/index.js diff --git a/awx/ui_next/src/components/HorizontalSeparator/HorizontalSeparator.jsx b/awx/ui_next/src/components/HorizontalSeparator/HorizontalSeparator.jsx deleted file mode 100644 index b1646660fe..0000000000 --- a/awx/ui_next/src/components/HorizontalSeparator/HorizontalSeparator.jsx +++ /dev/null @@ -1,14 +0,0 @@ -import React from 'react'; -import styled from 'styled-components'; - -const Separator = styled.div` - width: 100%; - height: 1px; - margin-top: 20px; - margin-bottom: 20px; - background-color: #d7d7d7; -`; - -const HorizontalSeparator = () => ; - -export default HorizontalSeparator; diff --git a/awx/ui_next/src/components/HorizontalSeparator/HorizontalSeparator.test.jsx b/awx/ui_next/src/components/HorizontalSeparator/HorizontalSeparator.test.jsx deleted file mode 100644 index c02794494b..0000000000 --- a/awx/ui_next/src/components/HorizontalSeparator/HorizontalSeparator.test.jsx +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -import { mount } from 'enzyme'; - -import HorizontalSeparator from './HorizontalSeparator'; - -describe('HorizontalSeparator', () => { - test('renders the expected content', () => { - const wrapper = mount(); - expect(wrapper).toHaveLength(1); - }); -}); diff --git a/awx/ui_next/src/components/HorizontalSeparator/index.js b/awx/ui_next/src/components/HorizontalSeparator/index.js deleted file mode 100644 index 7f9fe23413..0000000000 --- a/awx/ui_next/src/components/HorizontalSeparator/index.js +++ /dev/null @@ -1 +0,0 @@ -export { default } from './HorizontalSeparator';