Skip to content

Commit

Permalink
chore: fix typo in snackbar readme (#1961)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimKlein87 authored and tinayuangao committed Nov 29, 2016
1 parent 77a960c commit cde9ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/snack-bar/README.md
Expand Up @@ -5,7 +5,7 @@

| Name | Description |
| --- | --- |
| `open(message: string,<br> actionLabel: string, config: MdSnackBarConfig): MdSnackBarRef<SimpleSnackBar>` | Creates and opens a simple snack bar notification matching material spec. |
| `open(message: string, actionLabel: string, config: MdSnackBarConfig): MdSnackBarRef<SimpleSnackBar>` | Creates and opens a simple snack bar notification matching material spec. |
| `openFromComponent(component: ComponentType<T>, config: MdSnackBarConfig): MdSnackBarRef<T>` | Creates and opens a snack bar notification with a custom component as content. |

### Config
Expand All @@ -22,7 +22,7 @@
The service can be injected in a component.
```ts
@Component({
selector: 'my-component'
selector: 'my-component',
providers: [MdSnackBar]
})
export class MyComponent {
Expand Down

0 comments on commit cde9ab3

Please sign in to comment.