mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
854fc71ae7
* Organizing storybook to echo app folder structure * Updating new stories to follow new convention from develop
17 lines
386 B
JavaScript
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';
|