mirror of
https://github.com/tabler/tabler.git
synced 2026-08-07 03:42:27 +04:00
575d68572f
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
14 lines
273 B
Plaintext
14 lines
273 B
Plaintext
---
|
|
interface Props {
|
|
flag?: string
|
|
size?: string
|
|
class?: string
|
|
}
|
|
|
|
const { flag = 'pl', size, class: className } = Astro.props
|
|
|
|
const classes = ['flag', size && `flag-${size}`, `flag-country-${flag.toLowerCase()}`, className]
|
|
---
|
|
|
|
<span class:list={classes}></span>
|