InputSwitch: InputSwitchProps says incompatible type #2876
Labels
Type: Bug
Issue contains a defect related to a specific component.
Typescript
Issue or pull request is *only* related to TypeScript definition
Milestone
Describe the bug
We have a component that uses InputSwitch as one of the element and when we try to pass the InputSwitchProps, we are getting below error.
Interface:
Code that uses the interface is now throwing the error. (here poBoxswitchProps is of type IDSPOBoxSwitchProps )
Error:
Reproducer
No response
PrimeReact version
8.0.1
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: