@muzikanto/picture
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "@muzikanto/picture", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "image component", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -44,5 +44,5 @@ ## Observable and Observable-form | ||
return ( | ||
<BasePicture | ||
src={"your image url"} | ||
aspectRatio={16 / 9} | ||
<Picture | ||
src={"your image url"} | ||
aspectRatio={16 / 9} | ||
/> | ||
@@ -67,10 +67,10 @@ ) | ||
<Picture | ||
src={"your image url"} | ||
aspectRatio={16 / 9} | ||
onClick={(e) => alert('onClick')} | ||
onLoad={(e) => alert('onLoad')} | ||
onError={(e) => alert('onError')} | ||
renderLoading={() => ...Custom Loading Component} | ||
renderError={() => ...Custom Error Component} | ||
src={"your image url"} | ||
aspectRatio={16 / 9} | ||
onClick={(e) => alert('onClick')} | ||
onLoad={(e) => alert('onLoad')} | ||
onError={(e) => alert('onError')} | ||
renderLoading={() => ...Custom Loading Component} | ||
renderError={() => ...Custom Error Component} | ||
/> | ||
@@ -77,0 +77,0 @@ ) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14452