@rpg-engine/long-bow 0.3.55 → 0.3.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  export interface IQuestsButtonProps {
4
4
  disabled: boolean;
5
5
  title: string;
6
- onPointerDown: (questId: string, npcId: string) => void;
6
+ onClick: (questId: string, npcId: string) => void;
7
7
  }
8
8
  export interface IQuestInfoProps {
9
9
  onClose?: () => void;
@@ -35189,7 +35189,7 @@ var QuestInfo = function QuestInfo(_ref) {
35189
35189
  return React__default.createElement(Button, {
35190
35190
  key: index,
35191
35191
  onPointerDown: function onPointerDown() {
35192
- return button.onPointerDown(quests[currentIndex]._id, quests[currentIndex].npcId);
35192
+ return button.onClick(quests[currentIndex]._id, quests[currentIndex].npcId);
35193
35193
  },
35194
35194
  disabled: button.disabled,
35195
35195
  buttonType: exports.ButtonTypes.RPGUIButton,
@@ -35208,7 +35208,7 @@ var QuestInfo = function QuestInfo(_ref) {
35208
35208
  return React__default.createElement(Button, {
35209
35209
  key: index,
35210
35210
  onPointerDown: function onPointerDown() {
35211
- return button.onPointerDown(quests[0]._id, quests[0].npcId);
35211
+ return button.onClick(quests[0]._id, quests[0].npcId);
35212
35212
  },
35213
35213
  disabled: button.disabled,
35214
35214
  buttonType: exports.ButtonTypes.RPGUIButton,