fix(alert): type and name props are optional (#14815)

This commit is contained in:
llwwbb
2018-08-30 00:04:51 +08:00
committed by Manu MA
parent 1cbb371d3f
commit 99a2925b66

View File

@@ -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;