mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 12:56:01 +01:00
24 lines
418 B
JavaScript
24 lines
418 B
JavaScript
|
import React from 'react';
|
||
|
import SrpInput from '.';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/App/SrpInput',
|
||
|
id: __filename,
|
||
|
argTypes: {
|
||
|
onChange: { action: 'changed' },
|
||
|
},
|
||
|
component: SrpInput,
|
||
|
};
|
||
|
|
||
|
const Template = (args) => {
|
||
|
return (
|
||
|
<div style={{ width: '600px' }}>
|
||
|
<SrpInput {...args} />
|
||
|
</div>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = Template.bind({});
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|