I have created a react component. In this case its a component called Header.js.
Here is the code:
import React from "react";
export class Header extends React.Component {
render() {
return (
<div>
<h1>Header Component</h1>
</div>
);
}
}
What I need to do now is to add some css to the same component file so inside the js.
I need to do this without using addon libraries like jss etc.
How can I do this?