I'm very new to programming.trying to implement Angular MatBottomSheet. but getting above error. added angular material. enter image description here
Asked
Active
Viewed 594 times
2 Answers
0
Check this also Angular CLI - Please add a @NgModule annotation when using latest
pass your MatBottomSheet Export and Declarations
@NgModule({
declarations: [
MatBottomSheet
],
imports: [
CommonModule,
RouterModule.forChild(ProjectRoutes)
],
exports: [
MatBottomSheet
]
})

Chanaka Weerasinghe
- 5,404
- 2
- 26
- 39
0
You need to share with us the code of your modules.
But firstable try to export the MatBottomSheet from your module.

M Mohammed Adil
- 93
- 5