import React from 'react' import { StoryFn, Meta } from '@storybook/react' import Component from '.' export default { title: 'TransactionUI/Input.Slider', component: Component, } as Meta const Template: StoryFn = args => export const Default = Template.bind({}) Default.args = { id: 'range', label: 'Enter a number', min: 0, max: 10, onUpdatePendingReturnValue: () => { /**/ }, onStateChange: () => { /**/ }, } export const Decimals = Template.bind({}) Decimals.args = { id: 'range', label: 'Temperature', min: 0, max: 2, step: 0.1, helpText: 'Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.', onUpdatePendingReturnValue: () => { /**/ }, onStateChange: () => { /**/ }, }