StepperInput story

This commit is contained in:
Michael Lange 2020-06-18 13:19:58 -07:00
parent ba91a4ffe5
commit 26760c440d
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
import hbs from 'htmlbars-inline-precompile';
export default {
title: 'Components|Stepper Input',
};
export let Standard = () => {
return {
template: hbs`
<p class="mock-spacing">
<StepperInput
@value={{value}}
@min={{min}}
@max={{max}}
@onChange={{action (mut value)}}>
Stepper
</StepperInput>
</p>
<p class="mock-spacing"><strong>External Value:</strong> {{value}}</p>
`,
context: {
min: 0,
max: 10,
value: 5,
},
};
};