Sticker Creator

This commit is contained in:
Ken Powers
2019-12-17 15:25:57 -05:00
committed by Scott Nonnenberg
parent 2df1ba6e61
commit 11d47a8eb9
123 changed files with 11287 additions and 1714 deletions

View File

@@ -0,0 +1,16 @@
import * as React from 'react';
import * as styles from './MessageSticker.scss';
import { MessageMeta, Props as MessageMetaProps } from './MessageMeta';
export type Props = MessageMetaProps & {
image: string;
};
export const MessageSticker = ({ image, kind, minutesAgo }: Props) => {
return (
<div className={styles.base}>
<img src={image} alt="Sticker" className={styles.image} />
<MessageMeta kind={kind} minutesAgo={minutesAgo} />
</div>
);
};