// Copyright 2019-2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import * as React from 'react'; import * as styles from './StickerPackPreview.scss'; import { useI18n } from '../util/i18n'; export type Props = { images: Array; title: string; author: string; }; export const StickerPackPreview = React.memo( ({ images, title, author }: Props) => { const i18n = useI18n(); return (
{i18n('StickerCreator--Preview--title')}
{images.map(src => ( {src} ))}
{title}
{author}
); } );