plane/web/components/issue-layouts/list/list.tsx
sriram veeraghanta 70fe830151 filtering
2023-09-15 16:55:38 +05:30

20 lines
427 B
TypeScript

import React, { FC } from "react";
import { IIssue } from "types";
import { IssueListItem } from "./item";
export interface IIssueListView {
issues: IIssue[];
groupId: string;
}
export const IssueListView: FC<IIssueListView> = (props) => {
const { issues = [], groupId } = props;
return (
<div>
{issues.map((issue) => (
<IssueListItem issue={issue} groupId={groupId} />
))}
</div>
);
};