mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 21:31:28 +04:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
22 lines
295 B
Plaintext
22 lines
295 B
Plaintext
---
|
|
import Icon from './Icon.astro';
|
|
|
|
interface Props {
|
|
class?: string;
|
|
size?: string;
|
|
}
|
|
|
|
const { class: className, size } = Astro.props;
|
|
|
|
const classes = [
|
|
'avatar',
|
|
'avatar-upload',
|
|
className,
|
|
size && `avatar-${size}`,
|
|
]
|
|
---
|
|
|
|
<a href="#" class:list={classes}>
|
|
<Icon name="plus" />
|
|
</a>
|