1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 16:18:07 +01:00
metamask-extension/ui/components/app/currency-input/currency-input.stories.js
2022-03-23 18:53:56 +01:00

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