Remove HorizontalSeparator component. Patternfly now has a Divider component that we can use if we need something like this.

This commit is contained in:
mabashian 2020-02-03 17:57:34 -05:00
parent e3cfdb74ba
commit b3929d1177
3 changed files with 0 additions and 26 deletions

View File

@ -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 = () => <Separator />;
export default HorizontalSeparator;

View File

@ -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(<HorizontalSeparator />);
expect(wrapper).toHaveLength(1);
});
});

View File

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