mirror of
https://github.com/tabler/tabler.git
synced 2026-08-07 03:42:27 +04:00
8962710163
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
16 lines
260 B
Plaintext
16 lines
260 B
Plaintext
---
|
|
// Card subtitle (.card-subtitle).
|
|
|
|
interface Props {
|
|
/** element to render — default p */
|
|
as?: string
|
|
class?: string
|
|
}
|
|
|
|
const { as: Tag = 'p', class: className } = Astro.props
|
|
---
|
|
|
|
<Tag class:list={['card-subtitle', className]}>
|
|
<slot />
|
|
</Tag>
|