I am new to react , can i style inside a const
Here is my code
const initialStudentCounter =
'Students' + ' ' + JSON.stringify(studentCountInitial);
I need to style this "JSON.stringify(studentCountInitial)"
I tried this way , but didn't work
const initialStudentCounter =
'Students' + ' ' + <span style={color : 'red'}>JSON.stringify(studentCountInitial)</span> ;
Can some one help me please