Skip to content

Commit

Permalink
Fix className
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhorsford committed Jun 11, 2024
1 parent a3bf602 commit 138a895
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions stories/Content Presentation/SummaryList.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Meta, StoryObj } from '@storybook/react';
* ```jsx
* <a href="#">
* Change
* <span class="nhsuk-u-visually-hidden">
* <span className="nhsuk-u-visually-hidden">
* {' '}name
* </span>
* </a>
Expand Down Expand Up @@ -51,7 +51,7 @@ export const Standard: Story = {
<SummaryList.Value>Sarah Philips</SummaryList.Value>
<SummaryList.Actions>
<a href="#">
Change<span class="nhsuk-u-visually-hidden"> name</span>
Change<span className="nhsuk-u-visually-hidden"> name</span>
</a>
</SummaryList.Actions>
</SummaryList.Row>
Expand All @@ -60,7 +60,7 @@ export const Standard: Story = {
<SummaryList.Value>5 January 1978</SummaryList.Value>
<SummaryList.Actions>
<a href="#">
Change<span class="nhsuk-u-visually-hidden"> date of birth</span>
Change<span className="nhsuk-u-visually-hidden"> date of birth</span>
</a>
</SummaryList.Actions>
</SummaryList.Row>
Expand All @@ -75,7 +75,7 @@ export const Standard: Story = {
</SummaryList.Value>
<SummaryList.Actions>
<a href="#">
Change<span class="nhsuk-u-visually-hidden"> contact information</span>
Change<span className="nhsuk-u-visually-hidden"> contact information</span>
</a>
</SummaryList.Actions>
</SummaryList.Row>
Expand All @@ -87,7 +87,7 @@ export const Standard: Story = {
</SummaryList.Value>
<SummaryList.Actions>
<a href="#">
Change<span class="nhsuk-u-visually-hidden"> contact details</span>
Change<span className="nhsuk-u-visually-hidden"> contact details</span>
</a>
</SummaryList.Actions>
</SummaryList.Row>
Expand Down

0 comments on commit 138a895

Please sign in to comment.