Skip to content

Commit 305b6d9

Browse files
authored
docs(alert): alert input label is only for radio/checkbox (#2810)
1 parent ad86bef commit 305b6d9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/api/alert.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ interface AlertInput {
142142
name?: string;
143143
placeholder?: string;
144144
value?: any;
145+
/**
146+
* The label text to display next to the input, if the input type is `radio` or `checkbox`.
147+
*/
145148
label?: string;
146149
checked?: boolean;
147150
disabled?: boolean;

versioned_docs/version-v6/api/alert.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ interface AlertInput {
192192
name?: string;
193193
placeholder?: string;
194194
value?: any;
195+
/**
196+
* The label text to display next to the input, if the input type is `radio` or `checkbox`.
197+
*/
195198
label?: string;
196199
checked?: boolean;
197200
disabled?: boolean;

0 commit comments

Comments
 (0)