You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a ReactNode or JSXElement is passed to the title prop in the Accordion sections array, it throws an error.
Types of property 'title' are incompatible.
Type 'ReactNode' is not assignable to type 'string | undefined'.
Type 'null' is not assignable to type 'string | undefined'.
However, the documentation says it accepts a ReactNode for further title customisation.
The text was updated successfully, but these errors were encountered:
pedoch
changed the title
TS Error on title prop in Accordion component
TS Lint Error on title prop in Accordion component
Oct 18, 2024
When a ReactNode or JSXElement is passed to the title prop in the Accordion sections array, it throws an error.
However, the documentation says it accepts a ReactNode for further title customisation.
The text was updated successfully, but these errors were encountered: