Skip to content

Commit

Permalink
fix(pie-docs): DSW-2475 add formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
raoufswe committed Nov 18, 2024
1 parent 7adf914 commit 94313d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/pie-docs/src/components/toast/code/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ import '@justeattakeaway/pie-webc/components/toast.js';
<pie-toast message="Message"></pie-toast>
```

By default, the toast will auto-dismiss in five seconds. To disable the auto-dismiss functionality, you must set the duration to null.
By default, the toast will auto-dismiss in five seconds. To disable the auto-dismiss functionality, you must set the duration to `null`.

```js
// Vue templates (using Nuxt 3)
Expand Down
2 changes: 1 addition & 1 deletion apps/pie-docs/src/components/toast/code/props.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"type": "code",
"item": ["number", "null"]
},
"Sets the duration of the toast in milliseconds before it auto-dismisses. If the value is null auto-dismiss is disabled. If the value is not provided it auto-dismisses after 5 seconds (5000 milliseconds).",
"Sets the duration of the toast in milliseconds before it auto-dismisses. If the value is `null`, auto-dismiss is disabled. If the value is not provided it auto-dismisses after 5 seconds (5000 milliseconds).",
{
"type": "code",
"item": ["5000"]
Expand Down

0 comments on commit 94313d1

Please sign in to comment.