Skip to content

Commit

Permalink
mdx typos
Browse files Browse the repository at this point in the history
  • Loading branch information
basher committed Mar 28, 2024
1 parent c74e2a8 commit 155da69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/stories/5. Components/Ajax/Ajax.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import * as Ajax from './Ajax.stories';

## Ajax loading spinner
- This is example HTML markup for the spinner.
- In actual Ajax requests, the HTML for the spinner is programatically generated via JavaScript in `javascript/utils/ajax-helpers.ts`.
- In actual Ajax requests, the HTML for the spinner is programatically generated via JavaScript in `src/javascript/utils/ajax-helpers.ts`.

<Canvas of={Ajax.AjaxSpinner} />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as WebDisclosure from './WebDisclosure.stories';
# `<web-disclosure>`
- This is functionally equivalent to the [disclosure](/story/components-disclosure--disclosure) component, with the same accessibility considerations.
- The attributes that bind clicking the `ESC` key and clicking outside are renamed to `bind-escape-key` and `bind-click-outside`.
- To maintain the [DRY code](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) approach in this boilerplate, the JavaScript logic to handle showing/hiding of content is imported from an external shared utility function in `javascript/utils/disclosure.ts`.
- To maintain the [DRY code](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) approach in this boilerplate, the JavaScript logic to handle showing/hiding of content is imported from an external shared utility function in `src/javascript/utils/disclosure.ts`.

<Canvas of={WebDisclosure.WebDisclosure} />
<Controls of={WebDisclosure.WebDisclosure} />

0 comments on commit 155da69

Please sign in to comment.