import type { FC } from '../../lib/teact/teact'; import React, { memo, useMemo } from '../../lib/teact/teact'; import generateIdFor from '../../util/generateIdFor'; import buildClassName from '../../util/buildClassName'; import './PremiumIcon.scss'; // eslint-disable-next-line max-len const PREMIUM_ICON = { __html: '' }; const store: Record = {}; type OwnProps = { withGradient?: boolean; big?: boolean; className?: string; onClick?: VoidFunction; }; const PremiumIcon: FC = ({ withGradient, big, className, onClick, }) => { const html = useMemo(() => { return withGradient ? getPremiumIconGradient() : PREMIUM_ICON; }, [withGradient]); return ( ); }; function getPremiumIconGradient() { const id = generateIdFor(store); return { // eslint-disable-next-line max-len __html: ``, }; } export default memo(PremiumIcon);