mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(alert): type and name props are optional (#14815)
This commit is contained in:
@@ -17,8 +17,8 @@ export interface AlertOptions {
|
||||
}
|
||||
|
||||
export interface AlertInput {
|
||||
type: TextFieldTypes | 'checkbox' | 'radio';
|
||||
name: string;
|
||||
type?: TextFieldTypes | 'checkbox' | 'radio';
|
||||
name?: string;
|
||||
placeholder?: string;
|
||||
value?: string;
|
||||
label?: string;
|
||||
|
||||
Reference in New Issue
Block a user