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.
25 lines
483 B
25 lines
483 B
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';
|
|
|