File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 import { Accordion } from " melt/builders"
33 import type { Snippet } from " svelte"
44 import type { HTMLAttributes } from " svelte/elements"
5- import NoScript from " $components/NoScript.svelte"
6- import YesScript from " $components/YesScript.svelte"
75
86 const {
97 children,
1513 const accordion = new Accordion ()
1614 </script >
1715
18- <NoScript >
19- <div {...rest }>
20- {@render children (accordion )}
21- </div >
22- </NoScript >
23- <YesScript >
24- <div {...accordion .root } {...rest }>
25- {@render children (accordion )}
26- </div >
27- </YesScript >
16+ <div {...accordion .root } {...rest }>
17+ {@render children (accordion )}
18+ </div >
Original file line number Diff line number Diff line change 2121 </script >
2222
2323<NoScript >
24- <details name =" details" >
25- <summary class =" bg-darker p-2 px-4 rounded-2 block" >
24+ <details name =" details" class = " bg-darker rounded-2 " >
25+ <summary class =" p-2 px-4 block" >
2626 {item .item .title }
2727 </summary >
2828 {@render children ()}
You can’t perform that action at this time.
0 commit comments