import React from 'react'; import CustomSpendingCap from './custom-spending-cap'; export default { title: 'Components/App/CustomSpendingCap', argTypes: { tokenName: { control: { type: 'text' }, }, currentTokenBalance: { control: { type: 'number' }, }, dappProposedValue: { control: { type: 'text' }, }, siteOrigin: { control: { type: 'text' }, }, passTheErrorText: { action: 'passTheErrorText', }, decimals: { control: 'text', }, }, args: { tokenName: 'DAI', currentTokenBalance: 200.12, dappProposedValue: '7', siteOrigin: 'Uniswap.org', decimals: '4', }, }; export const DefaultStory = (args) => { return ; }; DefaultStory.storyName = 'Default';