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, id) => ( {src} ))}
{title}
{author}
); } );