Files
SCM-Manager/scm-ui/src/users/containers/UserRow.js

21 lines
385 B
JavaScript
Raw Normal View History

2018-07-10 08:38:38 +02:00
// @flow
import React from "react";
type Props = {
user: any
};
export default class UserRow extends React.Component<Props> {
render() {
return (
<tr>
<td>{this.props.user.displayName}</td>
<td>{this.props.user.mail}</td>
<td>
<input type="checkbox" id="admin" checked={this.props.user.admin} />
</td>
</tr>
);
}
}