Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaer committed Dec 31, 2022
1 parent 3618b8d commit 01121bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions projects/angular-twitter-timeline/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ Once the library is imported, you can use its component in your Angular applicat
```xml
<!-- You can now use the library component in app.component.html -->
<angular-twitter-timeline
[data]="{sourceType: 'profile', url: 'mastercreagertv'}"
[data]="{sourceType: 'profile', url: 'mustafaer_dev'}"
[opts]="{tweetLimit: 5}"
></angular-twitter-timeline>
```

## Data
Data can take value of `url` or `profile`.
If `url` is set, you have to provide a valid Twitter URL;
If `profile` is set, you have to set `screenName` as a valid Twitter screen name. E.g. `@mastercreagertv`.
If `profile` is set, you have to set `screenName` as a valid Twitter screen name. E.g. `@mustafaer_dev`.

```typescript

Expand Down
2 changes: 1 addition & 1 deletion projects/angular-twitter-timeline/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-twitter-timeline",
"version": "13.0.2",
"version": "13.0.3",
"description": "Angular Public Twitter Timeline Widget",
"peerDependencies": {
"@angular/common": "^13.0.0",
Expand Down

0 comments on commit 01121bb

Please sign in to comment.