Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@muzikanto/picture

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@muzikanto/picture - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"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 @@ )

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc