Skip to content

Commit

Permalink
Update panel README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jani Kraner committed Feb 5, 2018
1 parent 1c3e673 commit 3f2ae0f
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions src/components/panel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,38 +21,15 @@ More information about when to use panel can be found on [GOV.UK Design System](
Application complete
</h2>
<div class="govuk-c-panel__body">
Your reference number<br><strong>HDJ2123F</strong>
Your reference number: HDJ2123F
</div>
</div>

#### Macro

{{ govukPanel({
"titleText": "Application complete",
"html": "Your reference number<br><strong>HDJ2123F</strong>"
}) }}

### Panel--no-reference-number

[Preview the panel--no-reference-number example](http://govuk-frontend-review.herokuapp.com/components/panel/no-reference-number/preview)

#### Markup

<div class="govuk-c-panel govuk-c-panel--confirmation extra-dummy-class">
<h2 class="govuk-c-panel__title">
Application complete
</h2>
<div class="govuk-c-panel__body">
Thank you for your application
</div>
</div>

#### Macro

{{ govukPanel({
"classes": "extra-dummy-class",
"titleText": "Application complete",
"text": "Thank you for your application"
"text": "Your reference number: HDJ2123F"
}) }}

## Dependencies
Expand Down

0 comments on commit 3f2ae0f

Please sign in to comment.