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.
32 lines
927 B
32 lines
927 B
import React from 'react';
|
|
import { text, number } from '@storybook/addon-knobs';
|
|
import MainQuoteSummary from './main-quote-summary';
|
|
|
|
export default {
|
|
title: 'MainQuoteSummary',
|
|
id: __filename,
|
|
};
|
|
|
|
export const BestQuote = () => {
|
|
return (
|
|
<div
|
|
style={{
|
|
width: '360px',
|
|
height: '224px',
|
|
border: '1px solid black',
|
|
padding: '24px',
|
|
}}
|
|
>
|
|
<MainQuoteSummary
|
|
sourceValue={text('sourceValue', '2000000000000000000')}
|
|
sourceDecimals={number('sourceDecimals', 18)}
|
|
sourceSymbol={text('sourceSymbol', 'ETH')}
|
|
destinationValue={text('destinationValue', '200000000000000000')}
|
|
destinationDecimals={number('destinationDecimals', 18)}
|
|
destinationSymbol={text('destinationSymbol', 'ABC')}
|
|
sourceIconUrl=".storybook/images/metamark.svg"
|
|
destinationIconUrl=".storybook/images/sai.svg"
|
|
/>
|
|
</div>
|
|
);
|
|
};
|
|
|