import React from 'react' import { StoryFn, Meta } from '@storybook/react' import Component from '.' export default { title: 'TransactionUI/Input.Number', component: Component, } as Meta const Template: StoryFn = args => export const Default = Template.bind({}) Default.args = { label: 'Enter a number', onUpdatePendingReturnValue: () => { /**/ }, onStateChange: () => { /**/ }, } export const MinMax = Template.bind({}) MinMax.args = { label: 'Enter a number between 1-10', min: 1, max: 10, onUpdatePendingReturnValue: () => { /**/ }, onStateChange: () => { /**/ }, } export const Money = Template.bind({}) Money.args = { label: 'Amount', placeholder: '5', currency: 'USD', onUpdatePendingReturnValue: () => { /**/ }, onStateChange: () => { /**/ }, }