@0610studio/rn-gallery
v0.0.9
Published
``` @react-native-camera-roll/camera-roll ```
Downloads
23
Readme
@react-native-camera-roll/camera-roll
import { PhotoIdentifier } from "@react-native-camera-roll/camera-roll";
const [media, setMedia] = useState<PhotoIdentifier[]>([]);
<CameraRollComponent
assetType="All"
onSelected={async (photoIdentifier) => {
setMedia(photoIdentifier);
}}
/>