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

15 lines
332 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: 'SlippageButtons',
id: __filename,
};
2020-10-06 20:28:38 +02:00
export const Default = () => (
<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>
);