1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 04:46:10 +01:00
metamask-extension/ui/pages/swaps/slippage-buttons/slippage-buttons.stories.js

17 lines
386 B
JavaScript
Raw Normal View History

import React from 'react';
import { action } from '@storybook/addon-actions';
import SlippageButtons from '.';
2020-10-06 20:28:38 +02:00
export default {
title: 'Pages/Swaps/SlippageButtons',
id: __filename,
};
2020-10-06 20:28:38 +02:00
export const DefaultStory = () => (
2020-10-06 20:28:38 +02:00
<div style={{ height: '200px', marginTop: '160px' }}>
2020-11-03 00:41:28 +01:00
<SlippageButtons onSelect={action('slippage')} />
2020-10-06 20:28:38 +02:00
</div>
);
DefaultStory.storyName = 'Default';