You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
418 B
24 lines
418 B
3 years ago
|
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';
|