DevExpress / devextreme-reactive

Business React components for Bootstrap and Material-UI

Home Page:https://devexpress.github.io/devextreme-reactive/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The "Type '{ discardButton: string; }' is not assignable to type 'ComponentType<LocalizationMessages> | undefined'" message is shown if `messages` is set in `ConfirmationDialog`

onebalaban opened this issue · comments

I'm using ...

React Scheduler

Current Behaviour

The "Type '{ discardButton: string; }' is not assignable to type 'ComponentType | undefined'" message is shown if messages is set in ConfirmationDialog.

Expected Behaviour

This TS warning should not occur.

Steps to Reproduce

CodeSandBox

Screenshots

Screen Shot 2021-11-16 at 13 32 49

Environment

  • devextreme-reactive: 2.7.6
  • react: 17.0.2
  • browser: Chrome latest
  • bootstrap: none
  • react-bootstrap: none
  • material-ui: 4.11.4