Skip to content

Commit

Permalink
docs(readme): improve import guide
Browse files Browse the repository at this point in the history
  • Loading branch information
DerStimmler committed Jan 6, 2025
1 parent 7ad4064 commit d95269f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ npm install ngx-parallax-stars
Just import the standalone `NgxParallaxStarsComponent` into the component you want to use it in.

```typescript
import NgxParallaxStarsComponent from 'ngx-parallax-stars';
import { NgxParallaxStarsComponent } from 'ngx-parallax-stars';

@Component({
selector: 'app-main',
imports: [CommonModule, NgxParallaxStarsComponent],
imports: [NgxParallaxStarsComponent],
templateUrl: './main.component.html',
styleUrls: ['./main.component.scss'],
})
Expand Down
4 changes: 2 additions & 2 deletions libs/ngx-parallax-stars/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ npm install ngx-parallax-stars
Just import the standalone `NgxParallaxStarsComponent` into the component you want to use it in.

```typescript
import NgxParallaxStarsComponent from 'ngx-parallax-stars';
import { NgxParallaxStarsComponent } from 'ngx-parallax-stars';

@Component({
selector: 'app-main',
imports: [CommonModule, NgxParallaxStarsComponent],
imports: [NgxParallaxStarsComponent],
templateUrl: './main.component.html',
styleUrls: ['./main.component.scss'],
})
Expand Down

0 comments on commit d95269f

Please sign in to comment.