Event emitter component