mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
19 lines
630 B
TypeScript
19 lines
630 B
TypeScript
|
import { BulkArchiveIssues } from "./archive";
|
||
|
import { BulkDeleteIssues } from "./delete";
|
||
|
|
||
|
type Props = {
|
||
|
handleClearSelection: () => void;
|
||
|
selectedEntityIds: string[];
|
||
|
};
|
||
|
|
||
|
export const BulkOperationsActionsRoot: React.FC<Props> = (props) => {
|
||
|
const { handleClearSelection, selectedEntityIds } = props;
|
||
|
|
||
|
return (
|
||
|
<div className="h-7 px-3 flex items-center gap-3 flex-shrink-0">
|
||
|
<BulkArchiveIssues handleClearSelection={handleClearSelection} selectedEntityIds={selectedEntityIds} />
|
||
|
<BulkDeleteIssues handleClearSelection={handleClearSelection} selectedEntityIds={selectedEntityIds} />
|
||
|
</div>
|
||
|
);
|
||
|
};
|