박권수

styled. no result message

......@@ -131,6 +131,7 @@ const ManagerMenuPresenter = (props : ManagerMenuProps) => {
</styled.ContentInfo>
</styled.ContentInfoWrapper>
{
props.doctorRegReqList.length ?
props.doctorRegReqList.map((doctor : any) => {
return (
<styled.EachContentWrapper
......@@ -154,7 +155,10 @@ const ManagerMenuPresenter = (props : ManagerMenuProps) => {
</styled.EachContentNm>
</styled.EachContentWrapper>
)
})
}) :
<styled.NothingWrapper>
🤔검색 결과가 없습니다.
</styled.NothingWrapper>
}
</styled.ContentBody>
</styled.ContentWrapper>
......
......@@ -416,3 +416,14 @@ export const EachContentNm = styled.div<{isLast : boolean}> `
border-right : ${props => props.isLast ? '1px solid transparent' : '1px solid #ddd'};
`;
export const NothingWrapper = styled.div `
height : 100%;
width : 100%;
display : flex;
justify-content : center;
align-items : center;
color : #a0a0a0;
`;
\ No newline at end of file
......