Files
iNaturalistReactNative/tests/factories/RemotePhoto.js
Ken-ichi 8119a3e5ca Taxon detail media viewer (#966)
* Access MediaViewer from TaxonDetails
* Added our own presets for ActivityIndicator
* TaxonDetail should show a local taxon if one is available
* Made it a little easier to import the custom logger
* Refactored MediaViewer to accept photo-like objects instead of URIs
* Added license / attribution button to MediaViewer
* Moved delete button into MainPhotoDisplay so each photo has its own button
  and it can be laid out relative to its photo
* Add custom header to MediaViewer when accessed from TaxonDetial
* Allow DisplayTaxonName to accept custom text components as props
* Added darker bg to photo on TaxonDetail to make title more legible
2023-12-14 17:18:41 -08:00

10 lines
269 B
JavaScript

import { define } from "factoria";
export default define( "RemotePhoto", faker => ( {
id: faker.number.int( ),
attribution: "(c) username, some rights reserved (CC BY-NC)",
license_code: "cc-by-nc",
url: faker.image.url( ),
uuid: faker.string.uuid( )
} ) );