SplitButton: TypeScript Error "Cannot Find Name 'ButtonProps'" #3048
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
In #3028, the optional
loadingIcon
prop was added, with typeIconType<ButtonProps>
. However,ButtonProps
is not defined or imported inSplitButton.d.ts
. This results in the following TypeScript error:Reproducer
No response
PrimeReact version
8.2.0
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
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: