Open
Description
Prerequisites
- I am using the correct version of React-Bootstrap for my version of Bootstrap
- I have searched for duplicate or closed issues
- I have read the contributing guidelines
Describe the bug
This line makes it so you can pass non-existent props to the Modal
component and TypeScript will still compile.
Expected behavior
The following code should produce a TypeScript error:
const el = <Modal foobar="123" baz={77} bux={{ grapeJuice: false }} />
To Reproduce
See CodeSandbox.
Reproducible Example
https://codesandbox.io/s/react-bootstrap-modal-types-kgge3
Screenshots
No response
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of React-Bootstrap are you using?
2.1.0
What version of Bootstrap are you using?
N/A
Additional context
No response