Skip to content

Commit b5bfcf3

Browse files
committed
docs: update documentation on creating a custom material module
1 parent 3ae6eb2 commit b5bfcf3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

guides/getting-started.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,15 @@ import {MatButtonModule, MatCheckboxModule} from '@angular/material';
8282
export class PizzaPartyAppModule { }
8383
```
8484

85-
Alternatively, you can create a separate NgModule that imports all of the
85+
Alternatively, you can create a separate NgModule that exports all of the
8686
Angular Material components that you will use in your application. You can then
8787
include this module wherever you'd like to use the components.
8888

8989
```ts
9090
import {MatButtonModule, MatCheckboxModule} from '@angular/material';
9191

9292
@NgModule({
93-
imports: [MatButtonModule, MatCheckboxModule],
94-
exports: [MatButtonModule, MatCheckboxModule],
93+
exports: [MatButtonModule, MatCheckboxModule]
9594
})
9695
export class MyOwnCustomMaterialModule { }
9796
```

0 commit comments

Comments
 (0)