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.
- Host: GitHub
- URL: https://github.com/mrsteele/react-livephotos
- Owner: mrsteele
- Created: 2017-04-20T18:39:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T14:19:58.000Z (about 8 years ago)
- Last Synced: 2025-03-26T06:41:47.170Z (about 2 months ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
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