Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exploring Unnecessary Conditionals: Question #3101

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/components/question/_macro-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
| title | string | true | The question heading |
| description | string | false | The question description to be used to provide added context to the question. This can contain HTML. |
| instruction | string | false | An interviewer instruction. This can contain HTML. |
| warning | `<Object>WarningPanel` | false | Settings for the [WarningPanel](#warningpanel) to be used when a warning message is required |
| definition | `<Object>QuestionDefinition` | false | Settings for the [question definition](#questiondefinition) to be used to define a word or acronym that is in the question |
| guidance | `<Object>QuestionGuidance` | false | Settings for the [question guidance](#questionguidance) to be used to state what should be included or excluded from the answer |
| justification | `<Object>QuestionJustification` | false | Settings for the [question justification](#questionjustification) to be used to explain why a question is being asked |
Expand Down Expand Up @@ -55,3 +56,10 @@
| text | string | false | Text for the button label. Defaults to “Save and continue”. |
| classes | string | false | Classes to add the button element |
| attributes | object | false | HTML attributes (for example, data attributes) to add to the button |

## WarningPanel

| Name | Type | Required | Description |
| ---- | ------ | -------- | --------------------------------------------------------- |
| id | string | true | The HTML `id` of the Warning Panel |
| body | string | true | The contents of the warning panel. This can contain HTML. |
Loading