0.0.2 • Published 8 months ago

bpost-components-desy v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

DesignSystem

This library was generated with Angular CLI version 16.2.0.

Usage and imports

In this section, you will learn how to import properly the visual components included in the package and also how to implement the themeing provided.

Theme

In order for the theme to be applied throughout your app, in your root theme add this import :

@import "../node_modules/bpost-components-desy/src/lib/components/themes/theme.scss";

Components

In order to use the components in your application / module, you have to import it from the library. Note that if some components needs other imports, it will be described in an upcoming documentation.

Example import with button component :

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    BpostButton, //adding this line will allow you to use the component.
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {
 }

Example use with button component:

<div>

  <bpost-button label="Usage example" (click)="yourMethod(yourParams)" ></bpost-button>

</div>
0.0.2

8 months ago

0.0.1

8 months ago