Skip to content

Commit

Permalink
[react] "React input 에서 선택한 이미지 미리보기 컴포넌트 만들기
Browse files Browse the repository at this point in the history
" 부족한 내용 추가하였다.
  • Loading branch information
apeltop committed Dec 11, 2023
1 parent cc60a2d commit 7a08611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _posts/react/2023-12-09-react-input-same-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ input type="file" 일 때 같은 파일을 선택하면 onChange 가 발생하
![react-input-same-file-2.gif](/assets/img/react/react-input-same-file-2.gif)

### 기존 코드
`[tailwindcss](https://tailwindui.com) 를 사용하였습니다`


```tsx
import React, {useState} from "react";
Expand Down
2 changes: 2 additions & 0 deletions _posts/react/2023-12-10-react-image-preview-from-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ categories: [react, tailwindcss, typescript]
![react-image-preview-from-input.png](/assets/img/react/react-image-preview-from-input-2.png)

#### 코드
`[tailwindcss](https://tailwindui.com) 를 사용하였습니다`

```tsx
import React from "react";
import {PhotoIcon} from "@heroicons/react/24/solid";
Expand Down

0 comments on commit 7a08611

Please sign in to comment.