For beginners handling styles in React components could difficult. When it came to styles with hyphen (back-style) we have to rely on array syntax.
So what about multiple styles ? We can use the array syntax or use the classNames package (multiple use of className property is not allowed in Reactjs as Vue 3 )
Let’s use the package
yarn add classnames
In the template / HTML use the classNames function to include multiple style classes.
import classNames from 'classNames'
That’s all you need to know.