mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
fix(alert): add missing type
This commit is contained in:
@ -1,8 +1,16 @@
|
|||||||
import type { AnimationBuilder, LiteralUnion, Mode, TextFieldTypes, ComponentRef } from '../../interface';
|
import type {
|
||||||
|
AnimationBuilder,
|
||||||
|
LiteralUnion,
|
||||||
|
Mode,
|
||||||
|
TextFieldTypes,
|
||||||
|
ComponentRef,
|
||||||
|
ComponentProps,
|
||||||
|
} from '../../interface';
|
||||||
import type { IonicSafeString } from '../../utils/sanitization';
|
import type { IonicSafeString } from '../../utils/sanitization';
|
||||||
|
|
||||||
export interface AlertOptions<T extends ComponentRef = ComponentRef> {
|
export interface AlertOptions<T extends ComponentRef = ComponentRef> {
|
||||||
component?: T;
|
component?: T;
|
||||||
|
componentProps?: ComponentProps<T>;
|
||||||
header?: string;
|
header?: string;
|
||||||
subHeader?: string;
|
subHeader?: string;
|
||||||
message?: string | IonicSafeString;
|
message?: string | IonicSafeString;
|
||||||
|
Reference in New Issue
Block a user