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>
13 lines
238 B
Plaintext
13 lines
238 B
Plaintext
---
|
|
interface Props {
|
|
color?: string
|
|
animated?: boolean
|
|
}
|
|
|
|
const { color, animated } = Astro.props
|
|
|
|
const classes = ['status-dot', color && `status-${color}`, animated && 'status-dot-animated']
|
|
---
|
|
|
|
<span class:list={classes}></span>
|