text: export const useInputImageRenderer = (inputEl, callback) => {
    const inputImageRenderer = () => {
      const file = inputEl.value.files[0]
      const reader = new FileReader()
  
      reader.addEventListener(
        'load',
        () => {
          callback(reader.result)
        },
        false,
      )
  
      if (file) {
        reader.readAsDataURL(file)
      }
    }
    return {
      inputImageRenderer,
    }
  }
  
  export const _ = null
  