diff --git a/src/elements/Header/Header.js b/src/elements/Header/Header.js index 46030bcd65..a68264be0b 100644 --- a/src/elements/Header/Header.js +++ b/src/elements/Header/Header.js @@ -53,7 +53,7 @@ function Header(props) { const iconElement = Icon.create(icon) const imageElement = Image.create(image) - const subheaderElement = HeaderSubheader.create(subheader, { className: 'sub header' }) + const subheaderElement = HeaderSubheader.create(subheader) if (iconElement || imageElement) { return ( diff --git a/test/specs/elements/Header/Header-test.js b/test/specs/elements/Header/Header-test.js index 7d5c04c054..0e957c4793 100644 --- a/test/specs/elements/Header/Header-test.js +++ b/test/specs/elements/Header/Header-test.js @@ -29,7 +29,6 @@ describe('Header', () => { common.implementsShorthandProp(Header, { propKey: 'subheader', ShorthandComponent: HeaderSubheader, - shorthandDefaultProps: { className: 'sub header' }, mapValueToProps: val => ({ content: val }), })