Skip to content

Commit

Permalink
fix: disabled jsx attribute in button example (saadeghi#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
chazzox authored and ImgBotApp committed Jun 5, 2023
1 parent 6c0e660 commit 7a24b79
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 7a24b79

Please sign in to comment.