superdesk/superdesk-client-core

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

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import PropTypes from 'prop-types';

export const JobTitle: React.StatelessComponent<any> = ({item}) => (
    <span key={`role-container-${item._id}`} className="container"> {item.job_title && `(${item.job_title})` }</span>
);

JobTitle.propTypes = {
    item: PropTypes.object,
};