Skip to content

Commit

Permalink
feat: CommandAccordion 컴포넌트 className prop 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
YuHyun-P committed Feb 3, 2024
1 parent 07a1f1b commit 30ab55b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ import badgeGroupLayout from "./CommandAccordion.css";
interface CommandAccordionProps {
width?: number | string;
items: string[];
className?: string;
}

export default function CommandAccordion({
width = "100%",
items,
className,
}: CommandAccordionProps) {
return (
<Accordion width={width}>
<Accordion.Details>
<Accordion.Details className={className}>
<Accordion.Summary color="grey" size="sm">
{({ open }) => <>핵심명령어 {open ? "숨기기" : "보기"}</>}
</Accordion.Summary>
Expand Down

0 comments on commit 30ab55b

Please sign in to comment.