1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/pages/swaps/loading-swaps-quotes/loading-swap-quotes.stories.js

21 lines
556 B
JavaScript
Raw Normal View History

2022-03-25 16:07:47 +01:00
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',
};
export const DefaultStory = () => (
<div className="swaps">
<div className="swaps__container">
<LoadingSwapsQuotes
loadingComplete={false}
onDone={action('Loading done')}
aggregatorMetadata={storiesMetadata.totle}
/>
</div>
</div>
);