📅  最后修改于: 2022-03-11 14:58:50.585000             🧑  作者: Mango
Suppose this the js file: Use a div (in this case its rowC) to make a row
--
import Coursebox from './Coursebox';
import Newsbox from './Newsbox'
class ContainerRow extends React.Component {
render(){
return (
);
}
}
Using CSS you can put the two components side-by-side:
.rowC{display:flex; flex-direction:row;}