Skip to content

Commit

Permalink
Update collapse.svelte.md
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Apr 4, 2023
1 parent d3844ee commit 5c725a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/docs/src/routes/components/collapse.svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ data="{[
</div>
</div>
<pre slot="html" use:replace={{ to: $prefix }}>{
`<div tabindex="0" class="collapse group">
`<div tabindex="0" class="$$collapse group">
<div class="$$collapse-title bg-primary text-primary-content group-focus:bg-secondary group-focus:text-secondary-content">
Focus me to see content
</div>
Expand All @@ -263,7 +263,7 @@ data="{[
</div>`
}</pre>
<pre slot="react" use:replace={{ to: $prefix }}>{
`<div tabIndex={0} className="collapse group">
`<div tabIndex={0} className="$$collapse group">
<div className="$$collapse-title bg-primary text-primary-content group-focus:bg-secondary group-focus:text-secondary-content">
Focus me to see content
</div>
Expand Down Expand Up @@ -296,7 +296,7 @@ data="{[
</div>`
}</pre>
<pre slot="react" use:replace={{ to: $prefix }}>{
`<div className="collapse">
`<div className="$$collapse">
<input type="checkbox" className="peer" />
<div className="$$collapse-title bg-primary text-primary-content peer-checked:bg-secondary peer-checked:text-secondary-content">
Click me to show/hide content
Expand Down

0 comments on commit 5c725a0

Please sign in to comment.