Let core-value meaning and signals be edited on first open with Add Value, confirm discard when closing without adding, and pin Keep editing to the footer back slot.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -23,3 +23,7 @@ export interface ModalFooterProps {
|
||||
footerContent?: React.ReactNode;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
/** Left footer slot for confirm-dialog cancel; matches Back (`left` / `top` 16 / 12). */
|
||||
export const MODAL_FOOTER_START_SLOT_CLASS =
|
||||
"absolute left-[16px] top-[12px] flex min-h-[40px] items-center";
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
export { default } from "./ModalFooter.container";
|
||||
export type { ModalFooterProps } from "./ModalFooter.types";
|
||||
export { MODAL_FOOTER_START_SLOT_CLASS } from "./ModalFooter.types";
|
||||
|
||||
Reference in New Issue
Block a user