Frosty619
Frosty619

Reputation: 1489

Missing components in the CameraRoll API

I am trying to access the gallery using the official CameraRoll API guide. I am unable to render the component because the following modules are not provided in the official doc:

const CameraRollView = require('./CameraRollView');

const AssetScaledImageExampleView = require('./AssetScaledImageExample');

I tried to google for examples regarding CameraRollView and AssetScaledImageExampleView but found nothing. My question is where can I find the boilerplate code for these two modules? I am still learning React-Native so I am not sure how I am suppose to go about coding these two modules.

Upvotes: 0

Views: 77

Answers (1)

Joseph Roque
Joseph Roque

Reputation: 5166

Above the example code, next to the headline "Examples", you should see a link "Edit on GitHub" which leads to the source code for that example on GitHub. From there, you can navigate to the location of the file you desire.

For the particular files you desire, they are located at the following links:

CameraRollView.js
AssetScaledImageExample

Upvotes: 2

Related Questions