Revert "WIP"

This reverts commit ccfad1d800.
This commit is contained in:
Tom Moor
2019-08-28 00:03:11 -07:00
parent 780c5c1129
commit 5bd2409e39
6 changed files with 68 additions and 98 deletions

View File

@ -1,6 +1,5 @@
// @flow
import * as React from 'react';
import { PlusIcon } from 'outline-icons';
import Avatar from 'components/Avatar';
import Button from 'components/Button';
import ListItem from 'components/List/Item';
@ -19,8 +18,8 @@ const UserListItem = ({ user, onAdd, showAdd }: Props) => {
image={<Avatar src={user.avatarUrl} size={32} />}
actions={
showAdd ? (
<Button type="button" onClick={onAdd} icon={<PlusIcon />} neutral>
Add
<Button type="button" onClick={onAdd} neutral>
Invite
</Button>
) : (
undefined