2021-10-15 14:02:13 +02:00
|
|
|
import React from 'react';
|
|
|
|
import SendHexDataRow from './send-hex-data-row.component';
|
|
|
|
|
|
|
|
export default {
|
2021-12-01 20:27:57 +01:00
|
|
|
title: 'Pages/Send/SendContent/SendHexDataRow',
|
2021-10-15 14:02:13 +02:00
|
|
|
id: __filename,
|
2022-01-13 12:36:27 +01:00
|
|
|
argTypes: {
|
|
|
|
inError: { control: 'boolean' },
|
|
|
|
updateSendHexData: { action: 'updateSendHexData' },
|
|
|
|
},
|
2021-10-15 14:02:13 +02:00
|
|
|
};
|
|
|
|
|
2022-01-13 12:36:27 +01:00
|
|
|
export const DefaultStory = (args) => {
|
2021-10-15 14:02:13 +02:00
|
|
|
return (
|
|
|
|
<div style={{ width: 450 }}>
|
2022-01-13 12:36:27 +01:00
|
|
|
<SendHexDataRow {...args} updateSendHexData={() => null} />
|
2021-10-15 14:02:13 +02:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
2021-12-01 20:27:57 +01:00
|
|
|
|
|
|
|
DefaultStory.storyName = 'Default';
|
2022-01-13 12:36:27 +01:00
|
|
|
DefaultStory.args = {
|
|
|
|
inError: false,
|
|
|
|
};
|