Add ability to display revisions

This commit is contained in:
Tom Raithel
2017-08-22 22:31:50 +02:00
parent 33e66cb6fe
commit 113858c170
17 changed files with 97 additions and 8 deletions

View File

@@ -1,8 +1,10 @@
import React from 'react';
import classNames from 'classnames';
export default function({ children }) {
export default function({ children, secondary = false }) {
return (
<div className="headline-group">
<div
className={classNames('headline-group', {'headline-group--secondary': secondary})}>
{children}
</div>
);