import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import { Badge, Card, CardBody, CardHeader, Col, Row, Table } from 'reactstrap'; import usersData from './UsersData' function UserRow(props) { const user = props.user const userLink = `/users/${user.id}` const getBadge = (status) => { return status === 'Active' ? 'success' : status === 'Inactive' ? 'secondary' : status === 'Pending' ? 'warning' : status === 'Banned' ? 'danger' : 'primary' } return (
id | name | registered | role | status |
---|