mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
16 lines
434 B
Plaintext
16 lines
434 B
Plaintext
---
|
|
interface Props {
|
|
type?: 'border' | 'grow'
|
|
color?: string
|
|
/** core/scss/bootstrap/_spinners.scss `.spinner-{type}-{size}` — only 'sm' exists */
|
|
size?: 'sm' | undefined
|
|
class?: string
|
|
}
|
|
|
|
const { type = 'border', color, size, class: className } = Astro.props
|
|
|
|
const classes = [`spinner-${type}`, color && `text-${color}`, size && `spinner-${type}-${size}`, className]
|
|
---
|
|
|
|
<div class:list={classes} role="status"></div>
|