mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-05 15:35:46 +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';
|