StepperInput story
This commit is contained in:
parent
ba91a4ffe5
commit
26760c440d
|
@ -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,
|
||||
},
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue