30 lines
643 B
JavaScript
30 lines
643 B
JavaScript
|
import {
|
||
|
SlDialog
|
||
|
} from "./chunk.OP7XGYNG.js";
|
||
|
|
||
|
// src/react/dialog/index.ts
|
||
|
import * as React from "react";
|
||
|
import { createComponent } from "@lit/react";
|
||
|
import "@lit/react";
|
||
|
var tagName = "sl-dialog";
|
||
|
SlDialog.define("sl-dialog");
|
||
|
var reactWrapper = createComponent({
|
||
|
tagName,
|
||
|
elementClass: SlDialog,
|
||
|
react: React,
|
||
|
events: {
|
||
|
onSlShow: "sl-show",
|
||
|
onSlAfterShow: "sl-after-show",
|
||
|
onSlHide: "sl-hide",
|
||
|
onSlAfterHide: "sl-after-hide",
|
||
|
onSlInitialFocus: "sl-initial-focus",
|
||
|
onSlRequestClose: "sl-request-close"
|
||
|
},
|
||
|
displayName: "SlDialog"
|
||
|
});
|
||
|
var dialog_default = reactWrapper;
|
||
|
|
||
|
export {
|
||
|
dialog_default
|
||
|
};
|