Tearsheet.portalTarget declaration wrong #6345
Labels
area: typescript
component: Tearsheet
Sev 3
Visible or noticeable to users but does not impede functionality. Has a workaround.
type: bug 🐛
Something isn't working
Package
Carbon for IBM Products
Description
TearsheetShell.tsx defines
portalTarget
as aReactNode
whereas presumably it’s supposed to beElement
;At the least, the description and the typescript declaration don’t seem to match.
I reported this in #5700 but it was closed without this problem being fixed, hence I need to repeat the ticket.
Component(s) impacted
Tearsheet, TearsheetShell, TearsheetNarrow
Browser
Chrome
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.45
Suggested Severity
None
Product/offering
IKC
CodeSandbox or Stackblitz example
N/A
Steps to reproduce the issue (if applicable)
N/A
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: