mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-28 23:06:37 +01:00
854fc71ae7
* Organizing storybook to echo app folder structure * Updating new stories to follow new convention from develop
22 lines
478 B
JavaScript
22 lines
478 B
JavaScript
import React from 'react';
|
|
import { boolean } from '@storybook/addon-knobs';
|
|
import SendHexDataRow from './send-hex-data-row.component';
|
|
|
|
export default {
|
|
title: 'Pages/Send/SendContent/SendHexDataRow',
|
|
id: __filename,
|
|
};
|
|
|
|
export const DefaultStory = () => {
|
|
return (
|
|
<div style={{ width: 450 }}>
|
|
<SendHexDataRow
|
|
inError={boolean('In Error', false)}
|
|
updateSendHexData={() => null}
|
|
/>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
DefaultStory.storyName = 'Default';
|