mirror of
https://github.com/vercel/commerce.git
synced 2025-05-16 14:36:59 +00:00
19 lines
483 B
TypeScript
19 lines
483 B
TypeScript
import clsx from 'clsx';
|
|
import LogoIcon from './icons/logo';
|
|
|
|
export default function LogoSquare({ size }: { size?: 'sm' | undefined }) {
|
|
return (
|
|
<div
|
|
className={clsx(
|
|
'flex flex-none items-center justify-center border border-neutral-200 dark:border-neutral-700',
|
|
{
|
|
'h-[40px] w-[40px] rounded-xl': !size,
|
|
'h-[30px] w-[30px] rounded-lg': size === 'sm'
|
|
}
|
|
)}
|
|
>
|
|
<LogoIcon className="h-3 w-3" />
|
|
</div>
|
|
);
|
|
}
|