Skip to content

Commit 9029b65

Browse files
Apply suggestions from code review
Co-authored-by: CAAshworth <claire.ashworth@digital.cabinet-office.gov.uk>
1 parent 0da72b4 commit 9029b65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/contributing/component-js-configuration-options.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Configuration options allow developers to pass additional information into a component's JavaScript. This allows them to change how the component might work or appear without needing to create their own fork.
44

5-
Configuration options straddle the line between Nunjucks, HTML and JavaScript.
5+
Configuration options can be configured using Nunjucks, HTML or JavaScript, but only JavaScript will use the options.
66

77
## Preparing the component's JavaScript
88

@@ -145,7 +145,6 @@ We can now call the Accordion's Nunjucks macro with our new `rememberExpanded` p
145145
}) }}
146146
```
147147

148-
And that's pretty much it!
149148

150149
## Naming configuration options
151150

0 commit comments

Comments
 (0)