react-icons/md#MdFlag JavaScript Examples
The following examples show how to use
react-icons/md#MdFlag.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MsgDetailAirbnbSupportTeamBox.js From airdnd-frontend with MIT License | 4 votes |
MsgDetailAirbnbSupportTeamBox = ({
isCanceled,
onClickOpenModal,
onClickOpenFlagModal,
}) => {
return (
<MsgDetailAstWrapper>
<MsgDetailAstOuterWrapper>
<MsgDetailAstInnerWrapper>
<MsgDetailAstTitle>에어비엔비 지원</MsgDetailAstTitle>
</MsgDetailAstInnerWrapper>
<a
href="https://www.airbnb.co.kr/help/home"
rel="noopener noreferrer"
target="_blank"
>
<StButton>
<MsgDetailAstButtonWrapper>
<MsgDetailAstButtonInnerWrapper>
<MdHelp />
<MsgDetailAstButtonText>도움말 센터</MsgDetailAstButtonText>
</MsgDetailAstButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailAstButtonWrapper>
</StButton>
</a>
<a
href="https://www.airbnb.co.kr/resolutions"
rel="noopener noreferrer"
target="_blank"
>
<StButton>
<MsgDetailAstButtonWrapper>
<MsgDetailAstButtonInnerWrapper>
<AiFillHome />
<MsgDetailAstButtonText>해결 센터</MsgDetailAstButtonText>
</MsgDetailAstButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailAstButtonWrapper>
</StButton>
</a>
{isCanceled ? (
<StButton onClick={onClickOpenFlagModal}>
<MsgDetailAstButtonWrapper>
<MsgDetailAstButtonInnerWrapper>
<MdFlag />
<MsgDetailAstButtonText>호스트 신고하기</MsgDetailAstButtonText>
</MsgDetailAstButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailAstButtonWrapper>
</StButton>
) : (
<>
<a href="tel:+8210-6415-4738">
<StButton>
<MsgDetailAstButtonWrapper>
<MsgDetailAstButtonInnerWrapper>
<MdPhoneIphone />
<MsgDetailAstButtonText>
호스트에게 전화하기
</MsgDetailAstButtonText>
</MsgDetailAstButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailAstButtonWrapper>
</StButton>
</a>
<StButton onClick={onClickOpenModal}>
<MsgDetailAstButtonWrapper>
<MsgDetailAstButtonInnerWrapper>
<MdPhoneIphone />
<MsgDetailAstButtonText>
출장자를 위한 고객 지원팀에 연락하기
</MsgDetailAstButtonText>
</MsgDetailAstButtonInnerWrapper>
<MdKeyboardArrowRight />
</MsgDetailAstButtonWrapper>
</StButton>
</>
)}
</MsgDetailAstOuterWrapper>
</MsgDetailAstWrapper>
);
}