mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
71a9fe2ed1
* confirm-token-transaction-base * Update ui/pages/confirm-token-transaction-base/confirm-token-transaction-base.stories.js Co-authored-by: Brad Decker <git@braddecker.dev> Co-authored-by: Brad Decker <git@braddecker.dev>
23 lines
619 B
JavaScript
23 lines
619 B
JavaScript
import React from 'react';
|
|
import { store } from '../../../.storybook/preview';
|
|
import ConfirmTokenTransactionBase from './confirm-token-transaction-base.component';
|
|
|
|
export default {
|
|
title: 'Confirmation Screens',
|
|
};
|
|
|
|
const state = store.getState();
|
|
|
|
export const ConfirmTokenTransaction = () => {
|
|
const { metamask, confirmTransaction } = state;
|
|
const { currentCurrency } = metamask;
|
|
const { fiatTransactionTotal } = confirmTransaction;
|
|
return (
|
|
<ConfirmTokenTransactionBase
|
|
currentCurrency={currentCurrency}
|
|
fiatTransactionTotal={fiatTransactionTotal}
|
|
tokenSymbol="DAI"
|
|
/>
|
|
);
|
|
};
|