We have to use the further mentioned syntax configuration to write inline CSS in Next JS.

BY Best Interview Question ON 08 Jun 2019

Example

function HiThere() {

  return <p style={{ color: 'red' }}>hi there</p>;

  }

export default HiThere;

Suggest An Answer