display div in same row in react code example Example: make 2div in row react js .rowC{display:flex; flex-direction:row;}