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>
18 lines
352 B
Plaintext
18 lines
352 B
Plaintext
---
|
|
import Icon from './Icon.astro'
|
|
import type { AvatarSize } from './Avatar.astro'
|
|
|
|
interface Props {
|
|
class?: string
|
|
size?: AvatarSize | undefined
|
|
}
|
|
|
|
const { class: className, size } = Astro.props
|
|
|
|
const classes = ['avatar', 'avatar-upload', className, size && `avatar-${size}`]
|
|
---
|
|
|
|
<a href="#" class:list={classes}>
|
|
<Icon name="plus" />
|
|
</a>
|