ngx-toastr 8.6.0 → 8.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -71,10 +71,10 @@ Don't want to use `@angular/animations`? See
71
71
 
72
72
  * If you are using angular-cli you can add it to your angular.json
73
73
 
74
- ```json
74
+ ```ts
75
75
  "styles": [
76
76
  "styles.scss",
77
- "../node_modules/ngx-toastr/toastr.css"
77
+ "node_modules/ngx-toastr/toastr.css" // try adding '../' if you're using angular cli before 6
78
78
  ]
79
79
  ```
80
80
 
@@ -100,13 +100,10 @@ class MainModule {}
100
100
 
101
101
  ## Use
102
102
 
103
- Success:
104
-
105
103
  ```typescript
106
104
  import { ToastrService } from 'ngx-toastr';
107
- @Component({
108
- ...
109
- })
105
+
106
+ @Component({...})
110
107
  export class YourComponent {
111
108
  constructor(private toastr: ToastrService) {}
112
109