Skip to content

Commit

Permalink
알림 고정 아이콘 압정으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kichan05 committed Mar 25, 2024
1 parent b97fed8 commit fe79797
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/component/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {GoX, GoArchive} from "react-icons/go";
import {IconButton} from "./IconButton";
import {CSSTransition, TransitionGroup} from "react-transition-group";

import Pin from "./../assets/ic_pin.png"

const AlertStyle = styled.ul`
display: inline-block;
Expand Down Expand Up @@ -58,6 +60,10 @@ const AlertMessageStyle = styled.li`
.close-icon {
opacity: 0;
transition: 200ms;
img {
width: 20px;
}
}
&:hover .close-icon {
Expand Down Expand Up @@ -100,8 +106,7 @@ const AlertMessage = ({state, message, timeout}) => {
onClick={() => {
clearTimeout(removeTimeOut.current)
}}
><GoArchive/></IconButton>
{/*todo : 압정 아이콘으로 변경*/}
><img src={Pin} alt=""/></IconButton>
<IconButton
width={24}
size={20}
Expand Down

0 comments on commit fe79797

Please sign in to comment.