<ImageUploader
  @image={{this.image}}
  @placeholderIcon="trash"
  @cta="Select a Photo"
  @imageDescription="Profile image"
  @imageRequirements="Images must be in jpg or png format at least 50x50, min size 35kb, max 200kb"
  @onUpload={{this.onUpload}}
  @onError={{noop}}
  @onRemoveImage={{this.onImageRemoved}}
/>

<ImageEditor
  @isOpen={{this.showEditor}}
  @onClose={{fn (mut this.showEditor) false}}
  @image={{this.editing}}
  @width={{160}}
  @height={{90}}
  @fileType={{this.fileType}}
  @saveImageEditData={{this.saveImageEditData}}
  as |preview|
>
  <CardSpace::ProfileCard
    @profilePhoto={{preview}}
  />
</ImageEditor>
