Q. Which is a valid way to apply inline styles in React?
β
Correct Answer: (B)
style={{ color: 'red' }}
Explanation: In React, inline styles are passed as an object with camelCase properties.