nitro-v36-with-renderer-v36
/
src /
components /
wired /
views /
actions /
WiredActionGiveCurrencyFromChestView.tsx
WiredActionGiveCurrencyFromChestView.tsx 738 o
Télécharger le fichier
import { FC } from 'react';
import { WiredActionChestRewardBaseView } from './WiredActionChestRewardBaseView';
// Official give currency from chest (45): the shared chest reward editor, with the earnings category
// (11 games, 13 agency) as the sixth int.
const EARNINGS_CATEGORY = {
titleKey: 'wiredfurni.params.earnings_category',
title: 'Earnings category:',
options: [
{ value: 11, key: 'wiredfurni.params.earnings_category.11', label: 'Games' },
{ value: 13, key: 'wiredfurni.params.earnings_category.13', label: 'Agency' }
],
defaultValue: 11,
dropdown: true
};
export const WiredActionGiveCurrencyFromChestView: FC<{}> = () => <WiredActionChestRewardBaseView extra={EARNINGS_CATEGORY} />;
