scripts/apps/authoring-react/subcomponents/created-modified-info.tsx
import React from 'react';
import {IArticle} from 'superdesk-api';
import {CreatedInfo} from 'apps/authoring/authoring/created-info';
import {ModifiedInfo} from 'apps/authoring/authoring/modified-info';
interface IProps {
article: IArticle;
}
export class CreatedModifiedInfo extends React.PureComponent<IProps> {
render() {
return (
<div className="created-modified-info">
<CreatedInfo article={this.props.article} />
<span className="created-modified-info--separator" />
<ModifiedInfo article={this.props.article} />
</div>
);
}
}