Archived
Template
1
Fork 0
This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
Contour/public/@shoelace-style/shoelace/cdn/react/include/index.d.ts

21 lines
898 B
TypeScript
Raw Normal View History

2024-01-30 10:59:28 -05:00
import Component from '../../components/include/include.component.js';
import { type EventName } from '@lit/react';
import type { SlLoadEvent } from '../../events/events.js';
import type { SlErrorEvent } from '../../events/events.js';
export type { SlLoadEvent } from '../../events/events.js';
export type { SlErrorEvent } from '../../events/events.js';
/**
* @summary Includes give you the power to embed external HTML files into the page.
* @documentation https://shoelace.style/components/include
* @status stable
* @since 2.0
*
* @event sl-load - Emitted when the included file is loaded.
* @event {{ status: number }} sl-error - Emitted when the included file fails to load due to an error.
*/
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
onSlLoad: EventName<SlLoadEvent>;
onSlError: EventName<SlErrorEvent>;
}>;
export default reactWrapper;