Your component will still work without CSS. It’s not a dependency, thats why style should be separated from code.
Stop Styling React Components with Javascript

Depends on how you define “work”. Presentational components aren’t very useful without any styles, may it be in the same file or separate.

Like what you read? Give Satyajit Sahoo a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.