From 737524b01fd168c080cc77584bbc5c45a30b677a Mon Sep 17 00:00:00 2001 From: rmccar <42928680+rmccar@users.noreply.github.com> Date: Wed, 6 Nov 2024 08:39:08 +0000 Subject: [PATCH] Document id param on autosuggest component (#3413) --- src/components/autosuggest/_macro-options.md | 1 + src/components/back-to-top/_macro-options.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/autosuggest/_macro-options.md b/src/components/autosuggest/_macro-options.md index f0f0dd6f36..e169e62837 100644 --- a/src/components/autosuggest/_macro-options.md +++ b/src/components/autosuggest/_macro-options.md @@ -17,3 +17,4 @@ | resultsTitleId | string | true | ID for the results title. The ID is used in the results `aria-labelledby` to provide context for the results | | input | `Input` [_(ref)_](/components/input) | true | Configuration object for the input | | language | string | false | The ISO 639-1 Code will override the default language in page. Please note that only 'en', 'cy' and 'ni' is currently supported | +| id | string | false | The `id` of the input | diff --git a/src/components/back-to-top/_macro-options.md b/src/components/back-to-top/_macro-options.md index aa3f9bcbf0..412c791034 100644 --- a/src/components/back-to-top/_macro-options.md +++ b/src/components/back-to-top/_macro-options.md @@ -1,4 +1,4 @@ | Name | Type | Required | Description | | ----------- | ------ | -------- | -------------------------------------------------------------- | | description | string | false | The text label added to the button. Defaults to "Back to Top" | -| anchor | string | false | The 'id' of the element the button jumps to. Defaults to "Top" | +| anchor | string | false | The `id` of the element the button jumps to. Defaults to "Top" |