commerce/components/logo-square.tsx
2023-07-11 13:07:41 -05:00

19 lines
477 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-gray-200 dark:border-gray-700',
{
'h-[40px] w-[40px] rounded-xl': !size,
'h-[30px] w-[30px] rounded-lg': size === 'sm'
}
)}
>
<LogoIcon className="h-3 w-3" />
</div>
);
}