mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 08:58:19 +01:00
Sticker Creator
This commit is contained in:
committed by
Scott Nonnenberg
parent
2df1ba6e61
commit
11d47a8eb9
16
sticker-creator/elements/MessageSticker.tsx
Normal file
16
sticker-creator/elements/MessageSticker.tsx
Normal 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>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user