Parcourir la source

Update README.md

Gaëtan Renaudeau il y a 8 ans
Parent
révision
89009d13ca
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      README.md

+ 1
- 1
README.md Voir le fichier

48
 
48
 
49
 By default, takeSnapshot will export in a temporary folder and the snapshot file will be deleted as soon as the app leaves. If you use the `path` option, you make the snapshot file more permanent and at a specific file location. To make file location more 'universal', the library exports some classic directory constants:
49
 By default, takeSnapshot will export in a temporary folder and the snapshot file will be deleted as soon as the app leaves. If you use the `path` option, you make the snapshot file more permanent and at a specific file location. To make file location more 'universal', the library exports some classic directory constants:
50
 
50
 
51
-> If you use `dirs`, you own the file and manage its lifecycle: it won't get cleaned so be careful not leaking files on user's phone.
51
+> If you use the `path` option, you own the file and manage its lifecycle: it won't get cleaned so be careful not leaking files on user's phone.
52
 
52
 
53
 ```js
53
 ```js
54
 import { takeSnapshot, dirs } from "react-native-view-shot";
54
 import { takeSnapshot, dirs } from "react-native-view-shot";