Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disabled jsx attribute in button example #1103

Merged
merged 1 commit into from Sep 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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