@rpg-engine/long-bow 0.8.15 → 0.8.16

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.
@@ -1,10 +1,14 @@
1
1
  import React from 'react';
2
- interface Props {
2
+ interface IItemPropertySimpleHandlerProps {
3
3
  isOpen: boolean;
4
4
  selectedColor: string;
5
5
  onClose: () => void;
6
6
  onConfirm: (color: string) => void;
7
7
  onChange: (color: string) => void;
8
+ costWarning?: {
9
+ cost: number;
10
+ currency?: string;
11
+ };
8
12
  }
9
- export declare const ItemPropertySimpleHandler: React.FC<Props>;
13
+ export declare const ItemPropertySimpleHandler: React.FC<IItemPropertySimpleHandlerProps>;
10
14
  export {};
@@ -32908,13 +32908,15 @@ var ItemPropertySimpleHandler = function ItemPropertySimpleHandler(_ref) {
32908
32908
  selectedColor = _ref.selectedColor,
32909
32909
  onClose = _ref.onClose,
32910
32910
  onConfirm = _ref.onConfirm,
32911
- onChange = _ref.onChange;
32911
+ onChange = _ref.onChange,
32912
+ costWarning = _ref.costWarning;
32912
32913
  return React__default.createElement(ColorSelector, {
32913
32914
  selectedColor: selectedColor,
32914
32915
  isOpen: isOpen,
32915
32916
  onClose: onClose,
32916
32917
  onConfirm: onConfirm,
32917
- onChange: onChange
32918
+ onChange: onChange,
32919
+ costWarning: costWarning
32918
32920
  });
32919
32921
  };
32920
32922