[ButtonBase] typescript error on props passed to component={CustomComponent} when composing #43872
Labels
component: ButtonBase
The React component.
customization: slot
Component's slot customizability
status: waiting for author
Issue with insufficient information
typescript
Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/shy-night-xv2tjm?file=%2Fsrc%2FDemo.tsx%3A49%2C9-49%2C65
Current behavior
Notice the
a
prop errors out.Expected behavior
Shouldn't it understand that
a
is available oncomponent
prop?Context
No response
Your environment
No response
Search keywords: Button typescript ButtonBase
The text was updated successfully, but these errors were encountered: