Skip to content

Commit

Permalink
feat: Panel - IconButton 컴포넌트에 alt 속성 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
lokba committed Oct 6, 2022
1 parent caab7a1 commit 31d78eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/@common/Panel/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const Panel = ({ isOpen = false, className, title, children }: PanelProps) => {
<h3 className={styles.title}>{title}</h3>
<IconButton
src={isPanelOpen ? "/assets/icon/arrow-up.svg" : "/assets/icon/arrow-down.svg"}
alt={isPanelOpen ? "패널 닫기" : "패널 열기"}
aria-label={isPanelOpen ? "패널 닫기" : "패널 열기"}
/>
</Container>
Expand Down

0 comments on commit 31d78eb

Please sign in to comment.