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
/
input
/
index.mjs
2 lines
(1 loc)
•
212 B
JavaScript
View Raw
1
2
import
{jsx
as
t}
from
"react/jsx-runtime"
;
import
a
from
"clsx"
;
const
p=
"v-input"
,s=
(
{className:s,otp:m=!
1
,tag:o=
"input"
,...e}
)=>
t
(o,{
className
:
a
(p,m&&
`
${p}
-otp`
,s),...e});s.
displayName
=
"Input"
;
export
{s
as
default
};