import { Gridicon } from '@automattic/components'; import clsx from 'clsx'; import './style.scss'; interface PluginIconProps { className?: string; image?: string; isPlaceholder?: boolean; size?: number; } const PluginIcon = ( { className, image, isPlaceholder, size = 48 }: PluginIconProps ) => { const classes = clsx( { 'plugin-icon': true, 'is-placeholder': isPlaceholder, 'is-fallback': ! image, }, className ); const style = { maxWidth: size, maxHeight: size, }; return (