Skip to content

Commit c6b07d1

Browse files
committed
feat: avatar
1 parent 3ad3675 commit c6b07d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jrmc/edge-components",
3-
"version": "3.0.0-beta.1",
3+
"version": "3.0.0-beta.2",
44
"type": "module",
55
"description": "",
66
"engines": {

views/components/avatar.edge

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="avatar{{ $props.has('status') ? ` ${$props.get('status')}` : '' }} {{ $props.has('placeholder') ? ' placeholder' : '' }}" {{ $props.except(['class', 'url']).toAttrs() }}>
1+
<div class="avatar{{ $props.has('status') ? ` ${$props.get('status')}` : '' }} {{ $props.has('placeholder') ? ' avatar-placeholder' : '' }}" {{ $props.except(['class', 'url']).toAttrs() }}>
22
@if($props.has('placeholder'))
33
<div class="{{ jrmc.getCssClass($props, '', 'w-24 bg-neutral-content text-neutral') }}">
44
<span>{{ $props.get('placeholder') }}</span>

0 commit comments

Comments
 (0)