mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 21:31:28 +04:00
Enable astro/tsconfigs/strictest in the shared package (#2836)
This commit is contained in:
@@ -10,10 +10,10 @@ interface Props {
|
||||
class?: string
|
||||
}
|
||||
|
||||
const { title, as: TitleTag = 'h3', light, class: className } = Astro.props
|
||||
const { title, as: TitleTag = 'h3', light, class: className }: Props = Astro.props
|
||||
---
|
||||
|
||||
<div class:list={['card-header', light && 'card-header-light', className]}>
|
||||
{title && <TitleTag class="card-title">{title}</TitleTag>}
|
||||
{title && <TitleTag class:list={['card-title']}>{title}</TitleTag>}
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user