@alantoa/lightbox
npm install @alantoa/lightbox
``sh`
npm install @alantoa/lightbox
`js
import { LightBoxProvider, LightBox } from '@alantoa/lightbox';
import { StyleSheet, Image, Dimensions } from 'react-native';
import * as React from 'react';
const { width } = Dimensions.get('window');
export default function App() {
return (
height={width / 3}
imgLayout={{ width, height: width }}
>
uri: uri,
}}
style={StyleSheet.absoluteFillObject}
/>
);
}
``
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT