mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(packages): error dialog component (#1077)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { AlertDialogCloseElement } from '../../ui/alert-dialog/alert-dialog-close-element';
|
||||
import { AlertDialogDescriptionElement } from '../../ui/alert-dialog/alert-dialog-description-element';
|
||||
import { AlertDialogTitleElement } from '../../ui/alert-dialog/alert-dialog-title-element';
|
||||
import { ErrorDialogElement } from '../../ui/error-dialog/error-dialog-element';
|
||||
import { safeDefine } from '../safe-define';
|
||||
|
||||
// Parent first — child elements consume its context.
|
||||
safeDefine(ErrorDialogElement);
|
||||
safeDefine(AlertDialogCloseElement);
|
||||
safeDefine(AlertDialogDescriptionElement);
|
||||
safeDefine(AlertDialogTitleElement);
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
[ErrorDialogElement.tagName]: ErrorDialogElement;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user