mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 05:31:22 -03: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:
parent
e3cfdb74ba
commit
b3929d1177
@ -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';
|
||||
Loading…
x
Reference in New Issue
Block a user