1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 23:14:56 +01:00
metamask-extension/ui/components/app/currency-input/currency-input.stories.js

26 lines
483 B
JavaScript
Raw Normal View History

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';