Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

0610studio/rn-gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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);
    }}
/>