mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-05 07:24:56 +01:00
22 lines
574 B
JavaScript
22 lines
574 B
JavaScript
|
import React from 'react';
|
||
|
import { action } from '@storybook/addon-actions';
|
||
|
import LoadingSwapsQuotes from './loading-swaps-quotes';
|
||
|
import { storiesMetadata } from './loading-swaps-quotes-stories-metadata';
|
||
|
|
||
|
export default {
|
||
|
title: 'Pages/Swaps/LoadingSwapQuotes',
|
||
|
id: __filename,
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = () => (
|
||
|
<div className="swaps">
|
||
|
<div className="swaps__container">
|
||
|
<LoadingSwapsQuotes
|
||
|
loadingComplete={false}
|
||
|
onDone={action('Loading done')}
|
||
|
aggregatorMetadata={storiesMetadata.totle}
|
||
|
/>
|
||
|
</div>
|
||
|
</div>
|
||
|
);
|