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