signal-desktop/ts/components/conversation/ContactName.md

27 lines
414 B
Markdown
Raw Normal View History

#### Number, name and profile
```jsx
<ContactName
i18n={util.i18n}
name="Someone 🔥 Somewhere"
phoneNumber="(202) 555-0011"
profileName="🔥Flames🔥"
/>
```
#### Number and profile, no name
```jsx
<ContactName
i18n={util.i18n}
phoneNumber="(202) 555-0011"
profileName="🔥Flames🔥"
/>
```
#### No name, no profile
```jsx
<ContactName i18n={util.i18n} phoneNumber="(202) 555-0011" />
```