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 |
Tags
- test
- golang
- React
- 오블완
- css
- react-hook-form
- Chakra
- backend
- go
- java
- springboot
- JPA
- satisfiles
- frontend
- Spring
- javascript
- 티스토리챌린지
- Redux
- 웹애플리케이션서버
- component
- Gin
- tanstackquery
- designpatterns
- RTK
- storybook
- typescript
- ReactHooks
- JavaSpring
- hook
Archives
- Today
- Total
목록button (1)
bkdragon's log

Button은 아주 많이 사용되는 UI이다. 그냥 button 태그를 사용해도 되고 스타일 같은 것들을 지정해서 변경하면서 재사용 할 수 있게 컴포넌트를 만들어서 사용할 수도 있다. 조만간 Chakra UI를 사용할 일이 있어서 미리 공부할 겸 간단하게 컴포넌트를 작성해보았다. CustomButton.tsx import React, { PropsWithChildren } from 'react'; import { Button, ButtonProps } from '@chakra-ui/react'; type Props = ButtonProps; const CustomButton = (props: PropsWithChildren) => { const { children, ...rest } = props; ret..
UI UX
2023. 8. 25. 23:32