Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
i can set jsx element to tab content like below
<TabItemDirective content={() => <div />}></TabItemDirective>but if i want to dynamic add tab
TabItemModel's content property only has string &HTMLElement type
i need to transfer object type to any to set
jsxElement tothe content like below{ header: { text: 'tabText'}, content: ((() => jsxElement) as any) } as TabItemModel
is there any better way to do this in typescript?
or the content type should add type JSX.Element?