UNPKG

voluptasmollitia

Version:
26 lines (15 loc) 629 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [ReactNativeAsyncStorage](./auth.reactnativeasyncstorage.md) &gt; [setItem](./auth.reactnativeasyncstorage.setitem.md) ## ReactNativeAsyncStorage.setItem() method Persist an item in storage. <b>Signature:</b> ```typescript setItem(key: string, value: string): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | key | string | storage key. | | value | string | storage value. | <b>Returns:</b> Promise&lt;void&gt;