import * as React from 'react' ; import styles from '../Crm.module.scss' ; import { ICrmComponentProps } from '../ICrmComponentProps' ; import { IPerson } from '../../../data/IPerson' ; export interface IPersonMiniDisplayProps extends ICrmComponentProps { person : IPerson ; } export interface IPersonMiniDisplayState { } export default class PersonMiniDisplay extends React . Component < IPersonMiniDisplayProps , IPersonMiniDisplayState > { public constructor ( props ) { super ( props ) ; } public render ( ) { var interior = null ; interior = < div > { this . props . person . FirstName } & nbsp ; { this . props . person . Title } < /div>; return ( < div className = { styles . personMiniDisplay } > { interior } < /div>); } }