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
/
switch
/
index.js
2 lines
(1 loc)
•
279 B
JavaScript
View Raw
1
2
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,{
value
:!
0
});
var
e=
require
(
"react/jsx-runtime"
),s=
require
(
"clsx"
);
const
t
=(
{className:t,tag:r=
"input"
,...c}
)=>e.
jsx
(r,{
className
:
s
(
"v-switch"
,t),
role
:
"switch"
,
type
:
"checkbox"
,...c});t.
displayName
=
"Switch"
,
exports
.
default
=t;