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:
@@ -9,6 +9,8 @@ export * from './ui/captions-button/captions-button-core';
|
||||
export * from './ui/captions-button/captions-button-data-attrs';
|
||||
export * from './ui/controls/controls-core';
|
||||
export * from './ui/controls/controls-data-attrs';
|
||||
export * from './ui/error-dialog/error-dialog-core';
|
||||
export * from './ui/error-dialog/error-dialog-data-attrs';
|
||||
export * from './ui/fullscreen-button/fullscreen-button-core';
|
||||
export * from './ui/fullscreen-button/fullscreen-button-data-attrs';
|
||||
export * from './ui/mute-button/mute-button-core';
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import { AlertDialogCore, type AlertDialogState } from '../alert-dialog/alert-dialog-core';
|
||||
|
||||
export interface ErrorDialogState extends AlertDialogState {}
|
||||
|
||||
/** Error-dialog core: an alert dialog whose open state is driven by media error state. */
|
||||
export class ErrorDialogCore extends AlertDialogCore {
|
||||
override setProps(): void {}
|
||||
}
|
||||
|
||||
export namespace ErrorDialogCore {
|
||||
export type State = ErrorDialogState;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export { AlertDialogDataAttrs as ErrorDialogDataAttrs } from '../alert-dialog/alert-dialog-data-attrs';
|
||||
Reference in New Issue
Block a user