27 lines
520 B
JavaScript
27 lines
520 B
JavaScript
|
import {
|
||
|
SlButton
|
||
|
} from "./chunk.FNXODNAY.js";
|
||
|
|
||
|
// src/react/button/index.ts
|
||
|
import * as React from "react";
|
||
|
import { createComponent } from "@lit/react";
|
||
|
import "@lit/react";
|
||
|
var tagName = "sl-button";
|
||
|
SlButton.define("sl-button");
|
||
|
var reactWrapper = createComponent({
|
||
|
tagName,
|
||
|
elementClass: SlButton,
|
||
|
react: React,
|
||
|
events: {
|
||
|
onSlBlur: "sl-blur",
|
||
|
onSlFocus: "sl-focus",
|
||
|
onSlInvalid: "sl-invalid"
|
||
|
},
|
||
|
displayName: "SlButton"
|
||
|
});
|
||
|
var button_default = reactWrapper;
|
||
|
|
||
|
export {
|
||
|
button_default
|
||
|
};
|