Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- git lab
- styled components
- react env
- react typescript
- dart 변수
- next.js css
- nextjs
- icon
- SCSS
- getModifierState
- typescript react
- Git
- There isn’t anything to compare
- ngrok설치
- nextjs .env
- API token
- nextjs 설치
- npm styled-reset
- createGlobalStyle
- react
- github
- github io
- rewrites
- bootstrap
- ngrok실행
- 컨디셔널 렌더링
- fetch
- input type=file
- API 토큰
- CSS
Archives
- Today
- Total
목록component (1)
꾸준히 성장하는 개발자
[react] styled-component 정리하기
스타일을 자동으로 넣어주고 클래스네임도 자동으로 넣어주는 기능 최대한 오염이 되지 않는 스타일을 먹일수 있는 좋은 방법이다. 터미널에 작성하여 install 해준다. npm i styled-components 설치가 다 되었으면 사용해보자 사용하는 방법으로 버튼 import styled from 'styled-components'; const StyledButton =styled.button` background : transparent; border-radius:3px; border:2px solid palevioletred; color: palevioletred; margin: 0 1em; padding: 0.25em 1em; font-size:20px; `; export default StyledB..
React
2022. 2. 8. 01:20