Improved windows notifications
This commit is contained in:
parent
584e39d569
commit
40c21b1666
31 changed files with 1227 additions and 151 deletions
|
@ -3,21 +3,36 @@
|
|||
|
||||
import React from 'react';
|
||||
|
||||
import { IdenticonSVG } from './IdenticonSVG';
|
||||
import { IdenticonSVGForContact, IdenticonSVGForGroup } from './IdenticonSVG';
|
||||
import { AvatarColorMap } from '../types/Colors';
|
||||
|
||||
export default {
|
||||
title: 'Components/IdenticonSVG',
|
||||
};
|
||||
|
||||
export function AllColors(): JSX.Element {
|
||||
export function AllColorsForContact(): JSX.Element {
|
||||
const stories: Array<JSX.Element> = [];
|
||||
|
||||
AvatarColorMap.forEach(value =>
|
||||
stories.push(
|
||||
<IdenticonSVG
|
||||
<IdenticonSVGForContact
|
||||
backgroundColor={value.bg}
|
||||
text="HI"
|
||||
foregroundColor={value.fg}
|
||||
/>
|
||||
)
|
||||
);
|
||||
|
||||
return <>{stories}</>;
|
||||
}
|
||||
|
||||
export function AllColorsForGroup(): JSX.Element {
|
||||
const stories: Array<JSX.Element> = [];
|
||||
|
||||
AvatarColorMap.forEach(value =>
|
||||
stories.push(
|
||||
<IdenticonSVGForGroup
|
||||
backgroundColor={value.bg}
|
||||
content="HI"
|
||||
foregroundColor={value.fg}
|
||||
/>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue