Skip to content

feat: enhanced type for data prop - #7

Open
geekyarjun wants to merge 2 commits into
hosein2398:mainfrom
geekyarjun:enhancement/type-for-data-prop
Open

feat: enhanced type for data prop#7
geekyarjun wants to merge 2 commits into
hosein2398:mainfrom
geekyarjun:enhancement/type-for-data-prop

Conversation

@geekyarjun

Copy link
Copy Markdown

I want to pass JSX in data prop not just a string. It is currently giving type error. I have added an additional type React.ReactElement[] along with string[]

…the logic, only rest props are spreaded over <span> element so that React attributes warning shouldn't come
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants