Skip to content

Commit

Permalink
Tidy up changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
querkmachine authored Mar 2, 2023
1 parent c1072d3 commit bb1c206
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@ If you're not using the Nunjucks macro, you can disable it using the `data-remem

This was added in [pull request #3342: Add option to disable sessionState in Accordion](https://github.com/alphagov/govuk-frontend/pull/3342).

#### Added id parameter to button
#### Added `id` parameter to Buttons

The nunjucks macro for button has been updated to include an optional parameter ID.
The [Button](https://design-system.service.gov.uk/components/button/) Nunjucks macro has been updated to include an optional `id` parameter.

```nunjucks
{{ govukButton({
text: "Save and continue",
id: "continue-button"
}) }}
{{ govukButton({
text: "Save and continue",
id: "continue-button"
}) }}
```

This was added in [pull request #3344: Adding optional id attribute to button component](https://github.com/alphagov/govuk-frontend/pull/3344).
This was added in [pull request #3344: Adding optional id attribute to button component](https://github.com/alphagov/govuk-frontend/pull/3344). Thanks to [Tom Billington](https://github.com/TomBillingtonUK) for this contribution.

### Deprecated features

Expand Down

0 comments on commit bb1c206

Please sign in to comment.