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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user