code4rena-dev / components-library

Components library for Code4rena, and accessible as a package to be used in React based Code4rena products.
https://components-library-wine.vercel.app
0 stars 0 forks source link

Add screen ratio prop to Image Upload component #55

Open leo95oliveira opened 7 months ago

leo95oliveira commented 7 months ago
          Future feature idea (not now!), would be cool to have an optional prop for a 'screen ratio' of how the uploaded image might be cropped or shown on the frontend. 

ie- currently this cutout is square i think (for avatars which makes sense) but we could remove that opinion or just make it default and make this adaptable for use cases where the end-use of the image is landscape or uncropped etc

_Originally posted by @SamusElderg in https://github.com/code4rena-dev/components-library/pull/54#discussion_r1533252657_

SamusElderg commented 7 months ago

Thanks Leo!