mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +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';
|
||||
|
||||
export interface AlertOptions<T extends ComponentRef = ComponentRef> {
|
||||
component?: T;
|
||||
componentProps?: ComponentProps<T>;
|
||||
header?: string;
|
||||
subHeader?: string;
|
||||
message?: string | IonicSafeString;
|
||||
|
Reference in New Issue
Block a user