This commit is contained in:
Fred Carlsen
2018-12-11 17:01:07 +01:00
parent bc8981cbb2
commit 8a761ce2bc

View File

@@ -51,9 +51,9 @@ export const Heading: React.StatelessComponent<HeadingProps> = props => {
{...props}
>
{children}
</Component>;
)
}
</Component>
);
};
// No need to declare it twice as Styled then rewrap as a stateless comp
// Note: this would be useful to be implemented the same way was "Heading"