1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/pages/send/send-content/send-hex-data-row/send-hex-data-row.stories.js
Etienne Dusseault be0508d41e
Add send-hex-data-row to Storybook (#12085)
* send-hex-data

* id filename

* lint
2021-10-15 09:32:13 -02:30

20 lines
429 B
JavaScript

import React from 'react';
import { boolean } from '@storybook/addon-knobs';
import SendHexDataRow from './send-hex-data-row.component';
export default {
title: 'SendHexDataRow',
id: __filename,
};
export const SendHexDataRowComponent = () => {
return (
<div style={{ width: 450 }}>
<SendHexDataRow
inError={boolean('In Error', false)}
updateSendHexData={() => null}
/>
</div>
);
};