Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:
A component to display an indicator showing the completion progress of as task.
The progressbar is an ng-bootstrap component.
This documentation gives only the specifics for a usage within Post project.
Read the complete information about the component's configuration in ng-bootstrap progressbar documentation.
Make sure the @ng-bootstrap/ng-bootstrap
package is already present in your project
or follow ng-bootstrap installation guidelines.
To import all ng-bootstrap components:
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; @NgModule({ imports: [NgbModule], }) export class YourAppModule { }
To import only this component:
import {NgbProgressbarModule} from '@ng-bootstrap/ng-bootstrap'; @NgModule({ imports: [NgbProgressbarModule], }) export class YourAppModule { }
The progress bar requires an ariaLabel
attribute which provides context to the current progress. See the example below for how to use it.
<ngb-progressbar ariaLabel="Example of progress." type="primary" [showValue]="true" [value]="12.5" ></ngb-progressbar>