일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 티스토리챌린지
- styled-components
- 회고
- 엔트리포인트
- 브루트포스
- react-three/fiber
- 토이 프로젝트
- 코딩일기
- 자바스크립트
- State
- 세그먼트 트리
- 자료 구조
- HTML5
- 기본 문법
- 시뮬레이션
- JavaScript
- REACT
- Next.js
- 백준
- poiemaweb
- 해시를 사용한 집합과 맵
- 오블완
- 모던 자바스크립트 튜토리얼
- 자바
- 수학
- three.js
- 프론트엔드
- js
- 구현
- 개발 회고
Archives
- Today
- Total
목록공통 컴포넌트 (1)
코딩하는 고릴라

import { memo, MouseEvent, ReactNode, useCallback } from 'react';import { BaseComponentProps } from '../../type';export interface ButtonProps extends BaseComponentProps { className?: string; children?: ReactNode; onClick?: (e: MouseEvent) => void;}export const Button = memo(function Button(props: ButtonProps) { const { className, children } = props; const onClick = useCallback( (e: MouseEvent) ..
Project/melog
2025. 3. 9. 19:32