How to show the multiple files using select field, want to display the no of files which i have been selected but it is only showing single file
const [lessonImage, setLessonImage] = React.useState([]);
const handleLessonImage = (event) => {
setLessonImage(event.target.files);
}
<input
type="file"
onChange={handleLessonImage}
multiple
/>