This kit can be used to display a person contact information. It includes multiples kits like: Person, contact and caption kit. Use this kit for both Nitro users and Homeowners.
import React from 'react' import PersonContact from 'playbook-ui' const PersonContactDefault = (props) => { return ( <div> <PersonContact contacts={[ { contactType: 'email', contactValue: 'email@example.com', }, { contactValue: '5555555555', }, { contactType: 'work', contactValue: '3245627482', }, ]} firstName="Pauline" lastName="Smith" /> </div> ) } export default PersonContactDefault
import React from 'react' import PersonContact from 'playbook-ui' const PersonContactMultiple = (props) => { return ( <div> <PersonContact contacts={[ { contactType: 'email', contactValue: 'email@example.com', }, { contactValue: '5555555555', }, { contactType: 'work', contactValue: '3245627482', }, ]} firstName="Harvey" lastName="Walters" /> <PersonContact contacts={[ { contactValue: '5555555555', }, ]} firstName="Brenda" lastName="Walters" /> </div> ) } export default PersonContactMultiple
import React from 'react' import PersonContact from 'playbook-ui' const PersonContactWithDetail = (props) => { return ( <div> <PersonContact contacts={[ { contactType: 'email', contactValue: 'email@example.com', }, { contactValue: '5555555555', contactDetail: 'Home', }, { contactType: 'work', contactValue: '3245627482', contactDetail: 'Work', }, ]} firstName="Harvey" lastName="Walters" /> </div> ) } export default PersonContactWithDetail
import React from 'react' import PersonContact from 'playbook-ui' const PersonContactWithWrongNumbers = (props) => { return ( <> <PersonContact contacts={[ { contactType: 'email', contactValue: 'email@example.com', }, { contactValue: '5555555555', }, { contactType: 'wrong-phone', contactValue: '3245627482', }, { contactType: 'phone', contactValue: '3048615385', }, ]} firstName="Pauline" key="person-contact-1" lastName="Smith" /> </> ) } export default PersonContactWithWrongNumbers
• Don’t unstack the contacts: email & phone.
• Keep the fonts exact in size and weight, don’t change the color variations.