import { provideDaffToast } from '@daffodil/design/toast'
Registers the DaffToastService
for displaying a toast. This provider ensures
toasts function correctly within your application.
import { provideDaffToast } from '@daffodil/design/toast';
@NgModule({
providers: [
provideDaffToast({
position: {
vertical: 'bottom',
horizontal: 'left',
},
}),
]
)}
export class AppModule {}
const provideDaffToast: (config?: DaffToastOptions) => Provider[]