28 lines
576 B
JavaScript
28 lines
576 B
JavaScript
import {
|
|
SlSwitch
|
|
} from "./chunk.7GGMETWH.js";
|
|
|
|
// src/react/switch/index.ts
|
|
import * as React from "react";
|
|
import { createComponent } from "@lit/react";
|
|
import "@lit/react";
|
|
var tagName = "sl-switch";
|
|
SlSwitch.define("sl-switch");
|
|
var reactWrapper = createComponent({
|
|
tagName,
|
|
elementClass: SlSwitch,
|
|
react: React,
|
|
events: {
|
|
onSlBlur: "sl-blur",
|
|
onSlChange: "sl-change",
|
|
onSlInput: "sl-input",
|
|
onSlFocus: "sl-focus",
|
|
onSlInvalid: "sl-invalid"
|
|
},
|
|
displayName: "SlSwitch"
|
|
});
|
|
var switch_default = reactWrapper;
|
|
|
|
export {
|
|
switch_default
|
|
};
|