Show notification on screenshare start in adhoc call
This commit is contained in:
parent
22192a4037
commit
1a4bc49563
7 changed files with 114 additions and 32 deletions
|
@ -3,7 +3,11 @@
|
|||
|
||||
import React from 'react';
|
||||
import type { Meta } from '@storybook/react';
|
||||
import { IdenticonSVGForContact, IdenticonSVGForGroup } from './IdenticonSVG';
|
||||
import {
|
||||
IdenticonSVGForCallLink,
|
||||
IdenticonSVGForContact,
|
||||
IdenticonSVGForGroup,
|
||||
} from './IdenticonSVG';
|
||||
import { AvatarColorMap } from '../types/Colors';
|
||||
|
||||
export default {
|
||||
|
@ -40,3 +44,18 @@ export function AllColorsForGroup(): JSX.Element {
|
|||
|
||||
return <>{stories}</>;
|
||||
}
|
||||
|
||||
export function AllColorsForCallLink(): JSX.Element {
|
||||
const stories: Array<JSX.Element> = [];
|
||||
|
||||
AvatarColorMap.forEach(value =>
|
||||
stories.push(
|
||||
<IdenticonSVGForCallLink
|
||||
backgroundColor={value.bg}
|
||||
foregroundColor={value.fg}
|
||||
/>
|
||||
)
|
||||
);
|
||||
|
||||
return <>{stories}</>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue