airbnb/react-sketchapp

Better Image API Parity with React Native

macintoshhelper opened this issue · 0 comments

I am...

| -------------------------------------------------------------------------------------------------

Requesting a new feature

Proposal/Feature-request:

Improve the Image API parity with React Native by adding some of the static methods and extra props like blurRadius.

The main API method that would be useful is Image.getSize() to make getting image aspect ratios easier, for better use with the useWindowDimensions API. It's possible methods like onLayout could be implemented with the efforts in #472 too.

Implementation details: