1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/ui/pages/swaps/slippage-buttons/slippage-buttons.stories.js

16 lines
385 B
JavaScript

import React from 'react';
import { action } from '@storybook/addon-actions';
import SlippageButtons from './slippage-buttons';
export default {
title: 'Pages/Swaps/SlippageButtons',
};
export const DefaultStory = () => (
<div style={{ height: '200px', marginTop: '160px' }}>
<SlippageButtons onSelect={action('slippage')} />
</div>
);
DefaultStory.storyName = 'Default';