Preparing search index...

    Props for the ItemDialog component

    type ItemDialogProps = {
        testId: string;
        isVisible: boolean;
        mode: DialogMode;
        onClose: () => void;
        item: ItemIngredientType | ItemTagType;
    }
    Index

    Properties

    testId: string

    Unique identifier for testing and accessibility

    isVisible: boolean

    Whether the dialog is currently visible

    Current operation mode (add, edit, delete)

    onClose: () => void

    Callback fired when dialog is closed

    Item configuration with type-specific properties