mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
21 lines
481 B
TypeScript
21 lines
481 B
TypeScript
import React, { FC } from "react";
|
|
import { IIssue } from "types";
|
|
import { IssueListItem } from "./item";
|
|
import { observer } from "mobx-react-lite";
|
|
|
|
export interface IIssueListView {
|
|
issues: IIssue[];
|
|
groupId: string;
|
|
}
|
|
|
|
export const IssueListView: FC<IIssueListView> = observer((props) => {
|
|
const { issues = [], groupId } = props;
|
|
return (
|
|
<div>
|
|
{issues.map((issue) => (
|
|
<IssueListItem issue={issue} groupId={groupId} />
|
|
))}
|
|
</div>
|
|
);
|
|
});
|