This is the React component which defines the UI for the Select screen in the app.
Namespaces
Methods
(inner) renderBottom()
This function defines which component to display beneath the camera on the Select screen
based on the value of the state variables corresponding to loading and recommended books.
(async, inner) takePicture(camera)
This function takes a picture using the user's camera and calls our function to recommend books.
Parameters:
Name | Type | Description |
---|---|---|
camera |
Object | A reference to the camera being used. |