Update eslint to 8.27.0
This commit is contained in:
@@ -10,15 +10,15 @@ export type Props = MessageMetaProps & {
|
||||
image: string;
|
||||
};
|
||||
|
||||
export const MessageSticker: React.ComponentType<Props> = ({
|
||||
export function MessageSticker({
|
||||
image,
|
||||
kind,
|
||||
minutesAgo,
|
||||
}) => {
|
||||
}: Props): JSX.Element {
|
||||
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