본문 바로가기

기술 블로그

검색하기
기술 블로그
프로필사진 jaegwan

  • 분류 전체보기 (106)
    • 알고리즘 (5)
    • 프론트엔드 (25)
      • TIL (8)
      • Javascript (7)
      • react 완벽 가이드[udemy] (0)
      • 처음 배우는 리액트 네이티브 (3)
      • 리액트를 다루는 기술 (0)
    • 백엔드 (17)
      • JAVA (13)
      • Spring boot (1)
    • Android (17)
    • 기술면접 (2)
    • Ios (3)
      • swift (1)
    • 개인 (1)
    • linux (1)
    • 기타 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2023/09   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2023/09/22 (1)

기술 블로그

[TIL] Layout Components class name

Layout Components class name const StyledLayout = styled(Layout)` background-color: #ab4b4b !important; padding-top: 4.375rem; width: 100vw; height: 100vh; `; 위와같이 컴포넌트 스타일링을 적용할 때 스타일드 컴포넌트 내부적으로 css class 선택자로 적용된다. function Layout({children}: {children: React.ReactNode;}) { return ( {children} ); } 위 레이아웃 컴포넌트의 문제는 자식 컴포넌트는 잘 내려주었지만 css class지정 까지는 설정해주지 못했다. function Layout({ className, chil..

카테고리 없음 2023. 9. 22. 11:40
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바