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.js
2 lines
(1 loc)
•
274 B
JavaScript
View Raw
1
2
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,{
value
:!
0
});
var
e=
require
(
"react/jsx-runtime"
),t=
require
(
"clsx"
);
const
s=
"v-input"
,r=
(
{className:r,otp:a=!
1
,tag:u=
"input"
,...p}
)=>
e.
jsx
(u,{
className
:
t
(s,a&&
`
${s}
-otp`
,r),...p});r.
displayName
=
"Input"
,
exports
.
default
=r;