mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
Remove HorizontalSeparator component. Patternfly now has a Divider component that we can use if we need something like this.
This commit is contained in:
@@ -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;
|
|
||||||
@@ -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);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
export { default } from './HorizontalSeparator';
|
|
||||||
Reference in New Issue
Block a user