renta-ng-lib
Version:
Renta Solutions Angular Component Library
51 lines (39 loc) • 934 B
Markdown
A **work in progress** library of Angular component used by [Renta Solutions](https://www.rentasolutions.org/en).
Install with NPM:
```shell
npm install renta-ng-lib
```
After installing; import and add the module to your `app.module.ts` file, under `imports`:
```typescript
/* ... */
import { RentaNgLibModule } from 'renta-ng-lib';
@NgModule({
declarations: [/* ... */],
imports: [
/* ... */,
RentaNgLibModule,
],
providers: [/* ... */],
bootstrap: [AppComponent]
})
export class AppModule { }
```
```html
<renta-button
[]="false"
[]="'blue'"
(click)="doSomething()"
>Click here</renta-button>
```
```html
<renta-avatar
[]="'OK'"
[]="'blue'"
[]="'white'"
></renta-avatar>
```