Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
TTC
Theo's Typesafe Cult
•
10mo ago
Nas-damha
noob, how do i type this chart options prop.... 💀💀
2 Replies
Nas-damha
OP
•
10mo ago
I did it...
Matvey
•
10mo ago
You could have also used
React.ComponentProps
.
options
: React.ComponentProps
<typeof
PolarArea
>
[
'options'
]
options
: React.ComponentProps
<typeof
PolarArea
>
[
'options'
]
This helped me so many times.
Theo's Typesafe Cult
Join
24K
Members
View on Discord
Did you find this page helpful?
Yes
No