You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
483 B
26 lines
483 B
3 years ago
|
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';
|