2
<button 
  style={{ filter: sepia(0.5) }}>
  Show results
</button>

I get this error: "ReferenceError: sepia is not defined". I know I can fix this by writing css in its own file, but I need to make it work inside jsx to programatically change styles whenever needed.

0 Answers0