From 7aa7f0b46ca49eded51b04289f894dd26275f014 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 18 Aug 2021 16:17:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20default=20`"no"`=20limit?= =?UTF-8?q?=20to=20images?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/images/Image.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/images/Image.tsx b/src/components/images/Image.tsx index 8e230f7..582f487 100644 --- a/src/components/images/Image.tsx +++ b/src/components/images/Image.tsx @@ -20,7 +20,7 @@ const LIMIT_CLASSES = { } -export function Image({limit, ...props}: ImageProps): JSX.Element { +export function Image({limit = "no", ...props}: ImageProps): JSX.Element { props.bluelibClassNames = mergeClassNames(props.bluelibClassNames, "image") if(limit) {