Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

353 B
Raw Blame
import AsyncStorage from '@react-native-async-storage/async-storage';

export const storage = {
  getItem: async (key: string) => AsyncStorage.getItem(key),
  setItem: async (key: string, value: string) => AsyncStorage.setItem(key, value),
  removeItem: async (key: string) => AsyncStorage.removeItem(key),
  clear: async () => AsyncStorage.clear(),
};