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

22 lines
355 B
Markdown
Raw Normal View History

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