1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00

🔧 Add default "no" limit to images

This commit is contained in:
Steffo 2021-08-18 16:17:41 +02:00
parent dcfe75a907
commit 7aa7f0b46c
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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) {