mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
26 lines
483 B
JavaScript
26 lines
483 B
JavaScript
import React from 'react';
|
|
import CurrencyInput from '.';
|
|
|
|
export default {
|
|
title: 'Components/App/CurrencyInput',
|
|
id: __filename,
|
|
argTypes: {
|
|
hexValue: {
|
|
control: 'text',
|
|
},
|
|
featureSecondary: {
|
|
control: 'boolean',
|
|
},
|
|
onChange: {
|
|
action: 'onChange',
|
|
},
|
|
onPreferenceToggle: {
|
|
action: 'onPreferenceToggle',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <CurrencyInput {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|