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
Roman Balaban commented
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
Screenshots
Environment
- devextreme-reactive: 2.7.6
- react: 17.0.2
- browser: Chrome latest
- bootstrap: none
- react-bootstrap: none
- material-ui: 4.11.4