diff --git a/src/components/comment/__snapshots__/comment.test.tsx.snap b/src/components/comment/__snapshots__/comment.test.tsx.snap index 06fdaf1d2d3..364d9dade7f 100644 --- a/src/components/comment/__snapshots__/comment.test.tsx.snap +++ b/src/components/comment/__snapshots__/comment.test.tsx.snap @@ -23,7 +23,6 @@ exports[`EuiComment is rendered 1`] = `
-`; diff --git a/src/components/comment/_comment_list.scss b/src/components/comment/_comment_list.scss deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/components/comment/_index.scss b/src/components/comment/_index.scss index 1981a314a13..78e82990cb1 100644 --- a/src/components/comment/_index.scss +++ b/src/components/comment/_index.scss @@ -1,4 +1,3 @@ @import 'comment'; @import 'comment_event'; @import 'comment_timeline'; -@import 'comment_list'; diff --git a/src/components/comment/comment_event.tsx b/src/components/comment/comment_event.tsx index 960ff997d25..c23ac8104fc 100644 --- a/src/components/comment/comment_event.tsx +++ b/src/components/comment/comment_event.tsx @@ -49,7 +49,7 @@ export const EuiCommentEvent: FunctionComponent = ({ ); return ( -
+
{username}
diff --git a/src/components/comment/comment_list.test.tsx b/src/components/comment/comment_list.test.tsx deleted file mode 100644 index 48d29603692..00000000000 --- a/src/components/comment/comment_list.test.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import React from 'react'; -import { render } from 'enzyme'; -import { requiredProps } from '../../test/required_props'; - -import { EuiCommentList } from './comment_list'; - -describe('EuiCommentList', () => { - test('is rendered', () => { - const component = render(); - - expect(component).toMatchSnapshot(); - }); -}); diff --git a/src/components/comment/comment_list.tsx b/src/components/comment/comment_list.tsx deleted file mode 100644 index c665bf82c88..00000000000 --- a/src/components/comment/comment_list.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import React, { HTMLAttributes, FunctionComponent } from 'react'; -import { CommonProps } from '../common'; -import classNames from 'classnames'; - -export type EuiCommentListProps = HTMLAttributes & - CommonProps & {}; - -export const EuiCommentList: FunctionComponent = ({ - children, - className, - ...rest -}) => { - const classes = classNames('euiCommentList', className); - - return ( -
- {children} -
- ); -}; diff --git a/src/components/comment/index.ts b/src/components/comment/index.ts index dbc66fa8ab3..5a1c059f78b 100644 --- a/src/components/comment/index.ts +++ b/src/components/comment/index.ts @@ -3,5 +3,3 @@ export { EuiComment } from './comment'; export { EuiCommentEvent } from './comment_event'; export { EuiCommentTimeline } from './comment_timeline'; - -export { EuiCommentList } from './comment_list';