Quiz
Take a quiz on building strongly typed polymorphic components with TypeScript.
1
What is a polymorphic component in React?
A)
A component that only accepts a specific type of prop
B)
A component that can only render a single type of component
C)
A component that can render different types of elements based on its props
D)
A component that only accepts a single prop
Question 1 of 50 attempted
Get hands-on with 1200+ tech skills courses.