
  const handleChange = (newSrc: string): void => {
    setModal(false)
    if (typeof onChange === 'function') {
      onChange(newSrc)
    }
  }
  const handleClick = (): void => {
    setModal(!modal)
  }

  const onRejected = (rejected: any): void => {
    console.log(rejected)
  }
