From 85a390981f7a85b97e14285076c1db9aa020d4d6 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Tue, 7 Mar 2023 11:41:29 -0500 Subject: [PATCH] docs(alert): alert input label is only for radio/checkbox --- docs/api/alert.md | 3 +++ versioned_docs/version-v6/api/alert.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/api/alert.md b/docs/api/alert.md index 66cfe9e147b..3aa37fd64d2 100644 --- a/docs/api/alert.md +++ b/docs/api/alert.md @@ -142,6 +142,9 @@ interface AlertInput { name?: string; placeholder?: string; value?: any; + /** + * The label text to display next to the input, if the input type is `radio` or `checkbox`. + */ label?: string; checked?: boolean; disabled?: boolean; diff --git a/versioned_docs/version-v6/api/alert.md b/versioned_docs/version-v6/api/alert.md index a90625feb27..19b8bd7177a 100644 --- a/versioned_docs/version-v6/api/alert.md +++ b/versioned_docs/version-v6/api/alert.md @@ -192,6 +192,9 @@ interface AlertInput { name?: string; placeholder?: string; value?: any; + /** + * The label text to display next to the input, if the input type is `radio` or `checkbox`. + */ label?: string; checked?: boolean; disabled?: boolean;