Skip to content

Commit

Permalink
fix: 馃悰 readme
Browse files Browse the repository at this point in the history
  • Loading branch information
avivharuzi committed Sep 23, 2023
1 parent b673dae commit a926db6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Angular placeholder preview component before the content is loaded.
Versions compatibility list:

| ngx-skeleton | Angular |
|--------------|---------------|
| ------------ | ------------- |
| 16.x.x | 16.x.x |
| 15.x.x | 15.x.x |
| 14.x.x | 14.x.x |
Expand Down Expand Up @@ -55,21 +55,19 @@ imports: [
You can also import `NgxSkeletonComponent` as standalone component:

```ts
import {NgxSkeletonComponent} from 'ngx-skeleton';
import { NgxSkeletonComponent } from 'ngx-skeleton';

@Component({
standalone: true,
imports: [NgxSkeletonComponent],
// ...
})
export class MyComponent {
}
export class MyComponent {}
```

Use in your components (this is code example from demo page):

```html

<ng-container *ngIf="!isLoading; else loadingContent">
<h5>{{ movie.title }}</h5>
<h6 class="text-black-50">{{ movie.date }}</h6>
Expand All @@ -85,7 +83,7 @@ Use in your components (this is code example from demo page):
### Inputs

| Input | Type | Default |
|-------------------|------------------------|-------------------------|
| ----------------- | ---------------------- | ----------------------- |
| `animate` | boolean | `true` |
| `backgroundColor` | string | `'rgba(0, 0, 0, 0.08)'` |
| `borderRadius` | number &#124; string | `0` |
Expand Down

0 comments on commit a926db6

Please sign in to comment.