#import <React/RCTViewComponentView.h>
#import <UIKit/UIKit.h>

#ifndef SvgUrlViewNativeComponent_h
#define SvgUrlViewNativeComponent_h

NS_ASSUME_NONNULL_BEGIN

@interface SvgUrlView : RCTViewComponentView

@property (nonatomic, copy) NSString *url;
@property (nonatomic, strong, nullable) NSNumber *width;
@property (nonatomic, strong, nullable) NSNumber *height;

// New props
@property (nonatomic, assign) BOOL showSkeleton;               // Whether to display skeleton animation
@property (nonatomic, copy, nullable) NSString *placeholder;   // URL for placeholder image
@property (nonatomic, copy, nullable) NSString *failedPlaceholder; // URL for failed SVG placeholder

@end

NS_ASSUME_NONNULL_END

#endif /* SvgUrlViewNativeComponent_h */
