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

68 lines
1.3 KiB
Markdown
Raw Normal View History

### From other
```jsx
<util.ConversationContext theme={util.theme}>
<TimerNotification
type="fromOther"
phoneNumber="(202) 555-1000"
profileName="Mr. Fire"
2020-07-23 18:35:32 -07:00
title="Mr. Fire"
timespan="1 hour"
i18n={util.i18n}
/>
<TimerNotification
type="fromOther"
phoneNumber="(202) 555-1000"
profileName="Mr. Fire"
2020-07-23 18:35:32 -07:00
title="Mr. Fire"
disabled={true}
timespan="Off"
i18n={util.i18n}
/>
</util.ConversationContext>
```
### You changed
```jsx
<util.ConversationContext theme={util.theme}>
<TimerNotification
type="fromMe"
phoneNumber="(202) 555-1000"
2020-07-23 18:35:32 -07:00
title="(202) 555-1000"
timespan="1 hour"
i18n={util.i18n}
/>
<TimerNotification
type="fromMe"
phoneNumber="(202) 555-1000"
2020-07-23 18:35:32 -07:00
title="(202) 555-1000"
disabled={true}
timespan="Off"
i18n={util.i18n}
/>
</util.ConversationContext>
```
### Changed via sync
```jsx
<util.ConversationContext theme={util.theme}>
<TimerNotification
type="fromSync"
phoneNumber="(202) 555-1000"
2020-07-23 18:35:32 -07:00
title="(202) 555-1000"
timespan="1 hour"
i18n={util.i18n}
/>
<TimerNotification
type="fromSync"
phoneNumber="(202) 555-1000"
2020-07-23 18:35:32 -07:00
title="(202) 555-1000"
disabled={true}
timespan="Off"
i18n={util.i18n}
/>
</util.ConversationContext>
```