Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const {
givenName: firstname = contact.fullname,
familyName: lastname = ''
} = name
return (
<div>
<span>{firstname}</span>
<span>{lastname}</span>
</div>
)
}
ContactName.propTypes = {
contact: Contact.propType.isRequired
}
export default ContactName
},
className
)}
onClick={() => onClick(contact)}
{...rest}
>
{!isMobile && }
{!isMobile && }
{!isMobile && }
)
}
ContactRow.propTypes = {
contact: Contact.propType.isRequired
}
export default withBreakpoints()(ContactRow)
return (
<div>
{isMyself && }
</div>
)
}
ContactIdentity.propTypes = {
contact: Contact.propType.isRequired
}
export default ContactIdentity