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

16 lines
385 B
JavaScript
Raw Normal View History

import React from 'react';
import { action } from '@storybook/addon-actions';
import SlippageButtons from './slippage-buttons';
2020-10-06 20:28:38 +02:00
export default {
title: 'Pages/Swaps/SlippageButtons',
};
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';