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
George Marshall 854fc71ae7
Organizing storybook to echo app folder structure (#12796)
* Organizing storybook to echo app folder structure

* Updating new stories to follow new convention from develop
2021-12-01 11:27:57 -08:00

17 lines
386 B
JavaScript

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