Brandon Presley
f778426aba
Something happened with the deno formatter, I can't remember what! Hahahahahaahahaha
8 lines
169 B
TypeScript
8 lines
169 B
TypeScript
import { DeviceEventEmitter } from "react-native";
|
|
|
|
export const TOAST = "toast";
|
|
|
|
export function toast(value: string) {
|
|
DeviceEventEmitter.emit(TOAST, { value });
|
|
}
|