Skip to content

Commit 92c7d98

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a9fb516 commit 92c7d98

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/components/accordion/accordion.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ export const Accordion = ({
1919
)}
2020
>
2121
<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>
22+
<span aria-hidden="true" className="group-open:hidden">
23+
+
24+
</span>
25+
<span aria-hidden="true" className="group-open:block hidden">
26+
27+
</span>
2428
</summary>
2529

26-
<div id={id} className="pl-4">{children}</div>
30+
<div id={id} className="pl-4">
31+
{children}
32+
</div>
2733
</details>
2834
);
2935
};

src/components/accordion/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { Accordion } from "./accordion";
1+
export { Accordion } from "./accordion";

0 commit comments

Comments
 (0)