mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 19:44:21 +00:00
🔧 Add default "no"
limit to images
This commit is contained in:
parent
dcfe75a907
commit
7aa7f0b46c
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
props.bluelibClassNames = mergeClassNames(props.bluelibClassNames, "image")
|
||||||
|
|
||||||
if(limit) {
|
if(limit) {
|
||||||
|
|
Loading…
Reference in a new issue