Preparing search index...

    Props for NoteEditDialog component.

    type NoteEditDialogProps = {
        testId: string;
        isVisible: boolean;
        ingredientName: string;
        initialNote: string;
        placeholder: string;
        onClose: () => void;
        onSave: (note: string) => void;
    }
    Index

    Properties

    testId: string

    Unique identifier for testing and accessibility

    isVisible: boolean

    Whether the dialog is currently visible

    ingredientName: string

    Name of the ingredient being edited (for context)

    initialNote: string

    Initial note value

    placeholder: string

    Placeholder text for the note input

    onClose: () => void

    Callback fired when dialog is closed without saving

    onSave: (note: string) => void

    Callback fired when note is saved