You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
666 B
25 lines
666 B
import React from 'react';
|
|
import { store } from '../../../.storybook/preview';
|
|
import ConfirmTokenTransactionBase from './confirm-token-transaction-base';
|
|
|
|
export default {
|
|
title: 'Pages/ConfirmTokenTransactionBase',
|
|
id: __filename,
|
|
};
|
|
|
|
const state = store.getState();
|
|
|
|
export const DefaultStory = () => {
|
|
const { metamask, confirmTransaction } = state;
|
|
const { currentCurrency } = metamask;
|
|
const { fiatTransactionTotal } = confirmTransaction;
|
|
return (
|
|
<ConfirmTokenTransactionBase
|
|
currentCurrency={currentCurrency}
|
|
fiatTransactionTotal={fiatTransactionTotal}
|
|
tokenSymbol="DAI"
|
|
/>
|
|
);
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
|