feat: delete pipeline stage (#1412)

* feat: delete pipeline stage

Closes #1396

* refactor: code review

- Use string literal instead of enum

* docs: disable CircularProgressBar Chromatic snapshots
This commit is contained in:
Thaïs
2023-09-04 16:39:01 +02:00
committed by GitHub
parent 1a71f61d24
commit 96a0f30e98
11 changed files with 205 additions and 45 deletions

View File

@ -54,6 +54,7 @@ const StyledNumChildren = styled.div`
export type BoardColumnProps = {
color: string;
title: string;
onDelete?: (id: string) => void;
onTitleEdit: (title: string, color: string) => void;
totalAmount?: number;
children: React.ReactNode;
@ -65,6 +66,7 @@ export type BoardColumnProps = {
export function BoardColumn({
color,
title,
onDelete,
onTitleEdit,
totalAmount,
children,
@ -102,6 +104,7 @@ export function BoardColumn({
{isBoardColumnMenuOpen && (
<BoardColumnMenu
onClose={handleClose}
onDelete={onDelete}
onTitleEdit={onTitleEdit}
title={title}
color={color}