Skip to content

Commit

Permalink
fix(validation-messages): change component tag within README
Browse files Browse the repository at this point in the history
  • Loading branch information
va-stefanek authored and wjanaszek committed Mar 26, 2020
1 parent 354ee52 commit 37d770e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/validation-messages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### 1. Import ValidationMessagesModule

Import ValidationMessagesModule in the module of your application you'd like to use ng-validation-messages component.
Import ValidationMessagesModule in the module of your application you'd like to use va-validation-messages component.

```
@NgModule({
Expand Down Expand Up @@ -77,8 +77,8 @@ this.validationMessagesService.setValidationMessages(validationMessagesConfig);
Now, in some component's template, instantiate ValidationMessagesComponent and pass it a Form Control with validators attached to it:

```
<ng-validation-messages [control]="emailControl">
</ng-validation-messages>
<va-validation-messages [control]="emailControl">
</va-validation-messages>
```

# 3. API
Expand Down

0 comments on commit 37d770e

Please sign in to comment.