add onLoad prop to Image component (#2293)

# Summary

Closes #1442

We want to add new props to the Image Component.

## Test Plan

Added the Test component. 
Manually test that in Android and IOS platforms on new and old
Architectures.

### What are the steps to reproduce (after prerequisites)?

## Compatibility

| OS      | Implemented |
| ------- | :---------: |
| iOS     |         |
| Android |         |
This commit is contained in:
Bohdan Artiukhov
2024-06-27 16:10:28 +02:00
committed by GitHub
parent 7b5d4daaed
commit c0ee3e9ca0
13 changed files with 225 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ JSI_EXPORT extern const char RNSVGImageComponentName[];
class JSI_EXPORT RNSVGImageShadowNode final : public ConcreteViewShadowNode<
RNSVGImageComponentName,
RNSVGImageProps,
ViewEventEmitter,
RNSVGImageEventEmitter,
RNSVGImageState> {
public:
using ConcreteViewShadowNode::ConcreteViewShadowNode;