mirror of
https://github.com/tabler/tabler.git
synced 2026-08-30 13:51:28 +04:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
18 lines
323 B
Plaintext
18 lines
323 B
Plaintext
---
|
|
import MapVector from '@ui/MapVector.astro'
|
|
|
|
interface Props {
|
|
title?: string
|
|
map?: string
|
|
}
|
|
|
|
const { title, map = 'world' } = Astro.props
|
|
---
|
|
|
|
<div class="card">
|
|
<div class="card-body">
|
|
{title && <h3 class="card-title">{title}</h3>}
|
|
<MapVector mapId={map} color="primary" ratio="21x9" />
|
|
</div>
|
|
</div>
|