import {RouteComponentProps} from 'react-router'; import moment from 'moment'; import ResultGrid from 'sentry/components/resultGrid'; import {t} from 'sentry/locale'; import {Organization} from 'sentry/types'; import AsyncView from 'sentry/views/asyncView'; type Row = { dateCreated: string; name: string; organization: Organization; slug: string; status: string; }; type Props = RouteComponentProps<{}, {}>; type State = AsyncView['state']; export default class AdminProjects extends AsyncView { getRow = (row: Row) => [ {row.name}
{row.organization.name} , {row.status} , {moment(row.dateCreated).format('ll')} , ]; render() { const columns = [ Project, Status , Created , ]; return (

{t('Projects')}

); } }