mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Enable astro/tsconfigs/strictest in the shared package (#2836)
This commit is contained in:
@@ -19,4 +19,4 @@ const { photo, background, ratio, class: className } = Astro.props
|
||||
const src = `./static/photos/${photo.file}`
|
||||
---
|
||||
|
||||
<!-- Photo -->{background ? <div class:list={className} style={`background-image: url(${src})`} /> : ratio ? <div class:list={['img-responsive', `img-responsive-${ratio}`, className]} style={`background-image: url(${src})`} /> : <img src={src} class:list={className} alt={photo.title} />}
|
||||
<!-- Photo -->{background ? <div class:list={[className]} style={`background-image: url(${src})`} /> : ratio ? <div class:list={['img-responsive', `img-responsive-${ratio}`, className]} style={`background-image: url(${src})`} /> : <img src={src} class:list={[className]} alt={photo.title} />}
|
||||
|
||||
Reference in New Issue
Block a user