添加样式

This commit is contained in:
zwjamnsss 2017-07-11 14:37:20 +08:00
parent c4388bcb2f
commit 9d4939643c
3 changed files with 12 additions and 2 deletions

View File

@ -7,9 +7,11 @@ export default class GroupList extends Component {
super(props)
}
render () {
return (
<Card title="卡片标题">
<Card title="Groups">
<div>MFE</div>
<div>Hotel</div>
<div>Train</div>

View File

@ -1,6 +1,8 @@
import React, { Component } from 'react'
import GroupList from '../../components/GroupList/GroupList.js'
import './ProjectGroups.scss'
export default class ProjectGroups extends Component {
constructor(props) {
super(props)
@ -9,7 +11,9 @@ export default class ProjectGroups extends Component {
render () {
return (
<div>
<GroupList></GroupList>
<div className="groups-left">
<GroupList></GroupList>
</div>
</div>
)
}

View File

@ -0,0 +1,4 @@
.groups-left {
width: 250px;
margin: 20px;
}