UNPKG
@visa/nova-react
Version:
latest (3.1.0)
3.1.0
3.0.0
2.5.4
2.5.3
2.5.2
Visa Product Design System Nova React library. Compatible with React ^19.
@visa/nova-react
/
avatar
/
index.mjs
2 lines
(1 loc)
•
214 B
JavaScript
View Raw
1
2
import
{jsx
as
a}
from
"react/jsx-runtime"
;
import
s
from
"clsx"
;
const
m=
"v-avatar"
,t=
(
{className:t,small:l,tag:r=
"span"
,...e}
)=>
a
(r,{
className
:
s
(m,l&&
`
${m}
-small`
,t),...e});t.
displayName
=
"Avatar"
;
export
{t
as
default
};