mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-12 03:52:01 +01:00
Push to remote repo
This commit is contained in:
13
modules/vlc-player/src/VlcPlayerModule.web.ts
Normal file
13
modules/vlc-player/src/VlcPlayerModule.web.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { EventEmitter } from 'expo-modules-core';
|
||||
|
||||
const emitter = new EventEmitter({} as any);
|
||||
|
||||
export default {
|
||||
PI: Math.PI,
|
||||
async setValueAsync(value: string): Promise<void> {
|
||||
emitter.emit('onChange', { value });
|
||||
},
|
||||
hello() {
|
||||
return 'Hello world! 👋';
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user