mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
21 lines
385 B
JavaScript
21 lines
385 B
JavaScript
|
|
// @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>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|