We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9fb516 commit 92c7d98Copy full SHA for 92c7d98
src/components/accordion/accordion.tsx
@@ -19,11 +19,17 @@ export const Accordion = ({
19
)}
20
>
21
<span className="font-semibold">{title}</span>
22
- <span aria-hidden="true" className="group-open:hidden">+</span>
23
- <span aria-hidden="true" className="group-open:block hidden">−</span>
+ <span aria-hidden="true" className="group-open:hidden">
+ +
24
+ </span>
25
+ <span aria-hidden="true" className="group-open:block hidden">
26
+ −
27
28
</summary>
29
- <div id={id} className="pl-4">{children}</div>
30
+ <div id={id} className="pl-4">
31
+ {children}
32
+ </div>
33
</details>
34
);
35
};
src/components/accordion/index.tsx
@@ -1 +1 @@
1
-export { Accordion } from "./accordion";
+export { Accordion } from "./accordion";
0 commit comments