DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
TypeScript Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
TypeScript
How does the generic-parameter mechanism extend to React components, as covered further in TypeScript with React?
A
It doesn't extend to React at all — components can't be generic
B
A component can take a type parameter (like <T> for a List component), inferred from a prop like items, keeping related props (like a renderItem callback) correctly typed to match
C
React components must always use any for their props
D
Generic components require a separate special syntax unrelated to function generics
Check Answer