Skip to content

Commit

Permalink
fix(stepper): add missing stepper provider (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Jul 18, 2019
1 parent 33bdbbf commit f3f66b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/framework/theme/components/stepper/stepper.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
} from '@angular/core';
import { convertToBoolProperty } from '../helpers';
import { NbStepComponent } from './step.component';
import { NB_STEPPER } from './stepper-tokens';

export enum NbStepperOrientation {
VERTICAL = 'vertical',
Expand Down Expand Up @@ -96,6 +97,7 @@ export enum NbStepperOrientation {
selector: 'nb-stepper',
styleUrls: ['./stepper.component.scss'],
templateUrl: './stepper.component.html',
providers: [{ provide: NB_STEPPER, useExisting: NbStepperComponent }],
})
export class NbStepperComponent {

Expand Down

0 comments on commit f3f66b0

Please sign in to comment.