/** * External dependencies */ import { Link } from '@woocommerce/components'; import { __ } from '@wordpress/i18n'; /** * Internal dependencies */ import { ThemeCard as TypeThemeCard } from './types'; import { ColorPalettes } from './color-palettes'; export const ThemeCard = ( { slug, description, image, name, colorPalettes = [], link = '', isActive = false, }: TypeThemeCard ) => { return (
{ link ? ( { ) : ( { ) }

{ name }

{ colorPalettes && ( ) }
{ isActive && ( { __( 'Active theme', 'woocommerce' ) } ) } Free
); };