Skip to content

Commit 61cdb2b

Browse files
authored
Update README.md (#326)
The README was referencing a DragScrollDirective but when I installed the package I was told that there was only a DragScrollItemDirective, so I updated the README to reflect that.
1 parent 627f481 commit 61cdb2b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,12 @@ This project needs `Angular 5+` as dependencies though.
3030
# Setup
3131

3232
Our component and directive are standalone now!
33-
You'll need to import `DragScrollComponent` and/or `DragScrollDirective` to your application module or component.
33+
You'll need to import `DragScrollComponent` and/or `DragScrollItemDirective` to your application module or component.
3434

3535
## Module:
3636

3737
```typescript
38-
import { DragScrollComponent, DragScrollDirective } from 'ngx-drag-scroll';
39-
import { DragScrollDirective } from './ngx-drag-scroll-item';
38+
import { DragScrollComponent, DragScrollItemDirective } from 'ngx-drag-scroll';
4039

4140
...
4241

@@ -61,7 +60,7 @@ export class AppModule {
6160
## Component:
6261

6362
```typescript
64-
import { DragScrollComponent, DragScrollDirective } from 'ngx-drag-scroll';
63+
import { DragScrollComponent, DragScrollItemDirective } from 'ngx-drag-scroll';
6564

6665
@Component({
6766
selector: 'sample',

0 commit comments

Comments
 (0)