An open API service indexing awesome lists of open source software.

https://github.com/mrsteele/react-livephotos

A react wrapper for apple live photos api.
https://github.com/mrsteele/react-livephotos

Last synced: about 1 month ago
JSON representation

A react wrapper for apple live photos api.

Awesome Lists containing this project

README

        

# react-livephotos

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

### Usage

Usage is simple.

```javascript
import LivePhotos from 'react-livephotos'

export default ({...props}) => (


Some cool component!




)
```

### Properties

We support all the properties provided by [LivePhotosKit.Player](https://developer.apple.com/reference/livephotoskitjs/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