Skip to content

Commit

Permalink
fix: disabled jsx attribute in button example (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
chazzox committed Sep 7, 2022
1 parent 4cb2451 commit 6f92423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/src/routes/components/button.svelte.md
Expand Up @@ -236,7 +236,7 @@ data="{[
<button class="$$btn $$btn-disabled" tabindex="-1" role="button" aria-disabled="true">Disabled using class name</button>`
}</pre>
<pre slot="react" use:replace={{to: $prefix }}>{
`<button className="$$btn" disabled="disabled">Disabled using attribute</button>
`<button className="$$btn" disabled>Disabled using attribute</button>
<button className="$$btn $$btn-disabled" tabindex="-1" role="button" aria-disabled="true">Disabled using className name</button>`
}</pre>
</Component>
Expand Down

0 comments on commit 6f92423

Please sign in to comment.