From a77a26207c02ff9954add0fbe48677c218bc1f35 Mon Sep 17 00:00:00 2001 From: Alexandra Goff Date: Mon, 9 Dec 2024 16:11:17 -0500 Subject: [PATCH] fix: make width conditional --- packages/epo-react-lib/src/atomic/Picture/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/epo-react-lib/src/atomic/Picture/index.tsx b/packages/epo-react-lib/src/atomic/Picture/index.tsx index 91f67a94..524fe17c 100644 --- a/packages/epo-react-lib/src/atomic/Picture/index.tsx +++ b/packages/epo-react-lib/src/atomic/Picture/index.tsx @@ -5,7 +5,7 @@ import { stringifySrcSet } from "../Image/utils"; type AlternateSource = { type?: string; - width: number; + width?: number; height?: number; mediaCondition?: string; srcSet: string | Array;