Timeline date headers
This commit is contained in:
parent
0fa069f260
commit
f9440bf594
41 changed files with 1183 additions and 771 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2021 Signal Messenger, LLC
|
||||
// Copyright 2021-2022 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import * as React from 'react';
|
||||
|
@ -70,7 +70,7 @@ story.add('Two incoming direct calls back-to-back', () => {
|
|||
<CallingNotification
|
||||
{...getCommonProps()}
|
||||
{...call1}
|
||||
nextItem={{ type: 'callHistory', data: call2 }}
|
||||
nextItem={{ type: 'callHistory', data: call2, timestamp: Date.now() }}
|
||||
/>
|
||||
<CallingNotification {...getCommonProps()} {...call2} />
|
||||
</>
|
||||
|
@ -99,7 +99,7 @@ story.add('Two outgoing direct calls back-to-back', () => {
|
|||
<CallingNotification
|
||||
{...getCommonProps()}
|
||||
{...call1}
|
||||
nextItem={{ type: 'callHistory', data: call2 }}
|
||||
nextItem={{ type: 'callHistory', data: call2, timestamp: Date.now() }}
|
||||
/>
|
||||
<CallingNotification {...getCommonProps()} {...call2} />
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue