File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ import { NsProgress } from "@nethserver/ns8-ui-lib" ;
2+
3+ export default {
4+ title : "Components/NsProgress" ,
5+ component : NsProgress ,
6+ args : {
7+ stepId : "firstStep" ,
8+ steps : [
9+ {
10+ id : "firstStep" ,
11+ label : "First Step" ,
12+ } ,
13+ {
14+ id : "secondStep" ,
15+ label : "Second Step" ,
16+ } ,
17+ {
18+ id : "thirdStep" ,
19+ label : "Third Step" ,
20+ } ,
21+ {
22+ id : "fourthStep" ,
23+ label : "Fourth Step" ,
24+ } ,
25+ ] ,
26+ } ,
27+ } ;
28+
29+ const Template = ( args , { argTypes } ) => ( {
30+ props : Object . keys ( argTypes ) ,
31+ components : { NsProgress } ,
32+ template : `<NsProgress v-bind="$props" />` ,
33+ } ) ;
34+
35+ export const Default = Template . bind ( { } ) ;
36+ Default . args = { } ;
37+
38+ export const SecondStep = Template . bind ( { } ) ;
39+ SecondStep . args = {
40+ stepId : "secondStep" ,
41+ } ;
You can’t perform that action at this time.
0 commit comments