Latest nextui init my-nextui-app - unsure which package
Describe the bug
Type issue with startContent and endContent which results in an error of Type 'Element' is not assignable to type 'string | number | symbol | never[] | undefined'.
Happens with another component e.g. Chip that uses these same props.
NextUI Version
Latest nextui init my-nextui-app - unsure which package
Describe the bug
Type issue with startContent and endContent which results in an error of
Type 'Element' is not assignable to type 'string | number | symbol | never[] | undefined'
.Happens with another component e.g. Chip that uses these same props.
Your Example Website or App
https://codesandbox.io/p/github/alexnguyennz/my-nextui-app/main
Steps to Reproduce the Bug or Issue
Expected behavior
Be able to pass element (Element or ReactNode) to
startContent
andendContent
similar to using the Button component directlyScreenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome