Problem Description

Create a file input that shows a preview of selected image.

Input Format

No input.

Output Format

Render a React component.

Constraints

Use URL.createObjectURL and clean it up when file changes.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next