Show a footer Remove on selected create-flow modules so removal is not kebab-only.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -29,6 +29,9 @@ export default {
|
||||
showNextButton: {
|
||||
control: { type: "boolean" },
|
||||
},
|
||||
showRemoveButton: {
|
||||
control: { type: "boolean" },
|
||||
},
|
||||
nextButtonDisabled: {
|
||||
control: { type: "boolean" },
|
||||
},
|
||||
@@ -196,6 +199,28 @@ export const LoginYellowBackdrop = {
|
||||
},
|
||||
render: Template,
|
||||
};
|
||||
export const SelectedModuleRemove = {
|
||||
args: {
|
||||
isOpen: true,
|
||||
title: "Lazy Consensus",
|
||||
description:
|
||||
"A decision is assumed approved unless objections are raised within a specified timeframe.",
|
||||
backdropVariant: "blurredYellow",
|
||||
children: (
|
||||
<div className="space-y-4">
|
||||
<p className="text-[var(--color-content-default-primary)]">
|
||||
Selected module: danger Remove on the left, Save on the right.
|
||||
</p>
|
||||
</div>
|
||||
),
|
||||
showBackButton: false,
|
||||
showRemoveButton: true,
|
||||
showNextButton: true,
|
||||
nextButtonText: "Save",
|
||||
nextButtonDisabled: false,
|
||||
},
|
||||
render: Template,
|
||||
};
|
||||
export const NextButtonDisabled = {
|
||||
args: {
|
||||
isOpen: true,
|
||||
|
||||
Reference in New Issue
Block a user