1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-07 03:42:27 +04:00
Files
tabler/shared/ui/StatusDot.astro

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>