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>
14 lines
278 B
Plaintext
14 lines
278 B
Plaintext
---
|
|
interface Props {
|
|
text?: string
|
|
position?: string
|
|
class?: string
|
|
}
|
|
|
|
const { text = 'Label', position, class: className } = Astro.props
|
|
|
|
const classes = ['hr-text', position && `hr-text-${position.toLowerCase()}`, className]
|
|
---
|
|
|
|
<div class:list={classes}>{text}</div>
|