Added icon to team dropdown

This commit is contained in:
John Lyon-Smith
2018-03-26 10:53:30 -07:00
parent bc051e3551
commit ca7e72fc2d
4 changed files with 40 additions and 28 deletions

View File

@@ -156,7 +156,8 @@ export class UserForm extends React.Component {
</Column.Item>
<Column.Item>
<DropdownList items={teams} render={(item) => (
<DropdownList.Item key={item.id} style={{ paddingLeft: 8 }}>
<DropdownList.Item key={item.id}>
<DropdownList.Icon name='teams' size={sizeInfo.dropdownIconSize} />
<DropdownList.Text>{item.name}</DropdownList.Text>
</DropdownList.Item>
)} />