superdesk/superdesk-client-core

View on GitHub
scripts/apps/contacts/components/fields/VersionCreated.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import PropTypes from 'prop-types';
import {TimeElem} from 'apps/contacts/components';

export const VersionCreated: React.StatelessComponent<any> = ({item, svc}) =>
    <TimeElem key="version-created" date={item._updated} svc={svc} />;

VersionCreated.propTypes = {
    item: PropTypes.object,
    svc: PropTypes.object.isRequired,
};