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

16 lines
295 B
Plaintext

---
// Button list container (.btn-list).
interface Props {
/** btn-list-center (justify-content: center) */
center?: boolean
class?: string
}
const { center, class: className } = Astro.props
---
<div class:list={['btn-list', center && 'btn-list-center', className]}>
<slot />
</div>