Feat/#112: 공지사항 페이지에서 학교, 학과 공지사항을 분리해서 보여줄 수 있는 UI 구현 #116
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤠 개요
💫 설명
announceKeyword
를 사용해서, 비동기 데이터를 가져와요setState
호출로 인해서 불필요한 리렌더링도 발생할 수 있기 때문에, URL을 파싱하기로 했어요.Button
컴포넌트에 스타일을 외부에서 주입할 수 있도록 변경했어요.border
의bottom-line
을 통해서 강조했어요.ButtonHTMLAttributes<HTMLButtonElement>
이 타입을 확장해서 Button 컴포넌트의 prop을 재정의 했어요!majorRequired
prop📷 스크린샷 (Optional)