New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-livephotos

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-livephotos

A react wrapper for apple live photos api.

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-livephotos

Wraps Apple's "Live Photos" in a react app.

Usage

Usage is simple.

import LivePhotos from 'react-livephotos'

export default ({...props}) => (
  <div>
    <h1>Some cool component!</h1>
    <LivePhotos
      className='whatever-you-want'
      width='300'
      height='200'
      photoSrc='url-to-photo.jpg'
      videoSrc='url-to-video.mov'
    />
  </div>
)

Properties

We support all the properties provided by LivePhotosKit.Player.

The following are specific to this module:

  • className (String) - The class name to apply to the containing element.
  • width (Int) - The width of the container. Defaults to the size of the live photo.
  • height (Int) - The height of the container. Defaults to the size of the live photo.

License

MIT

Keywords

FAQs

Package last updated on 28 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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