Fix openCamera, openCropped, lightbox model, and image model usages (#1908)

This commit is contained in:
Eric Bailey 2023-11-14 19:46:46 -06:00 committed by GitHub
parent 7d5e01f433
commit ab1ce078ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 34 deletions

View file

@ -6,15 +6,6 @@ import {
import {CameraOpts, CropperOptions} from './types'
export {openPicker} from './picker.shared'
/**
* NOTE
* These methods all include the RootStoreModel as the first param
* because the web versions require it. The signatures have to remain
* equivalent between the different forms, but the store param is not
* used here.
* -prf
*/
export async function openCamera(opts: CameraOpts): Promise<RNImage> {
const item = await openCameraFn({
width: opts.width,