Feat(medusa, admin-ui): Update edit allocation modal (#4071)

* update edit-allocation modal

* add changeset

* update edit-allocation modal

* update allocation modal
This commit is contained in:
Philip Korsholm
2023-05-22 15:58:51 +02:00
committed by GitHub
parent c0e527d6e0
commit 0476f52519
6 changed files with 173 additions and 101 deletions
@@ -1,10 +1,10 @@
import clsx from "clsx"
import ImagePlaceholderIcon from "../../fundamentals/icons/image-placeholder-icon"
import clsx from "clsx"
type Props = {
src?: string | null
className?: string
size?: "small" | "medium" | "large"
size?: "xsmall" | "small" | "medium" | "large"
}
export const Thumbnail = ({ src, className, size = "small" }: Props) => {
@@ -13,6 +13,7 @@ export const Thumbnail = ({ src, className, size = "small" }: Props) => {
className={clsx(
"bg-grey-5 rounded-rounded flex items-center justify-center overflow-hidden",
{
"h-6 w-[18px]": size === "xsmall",
"h-10 w-[30px]": size === "small",
"h-12 w-9": size === "medium",
"h-[226px] w-[170px]": size === "large",