Preparing search index...

    Props for the RecipeSelectionCard component

    type RecipeSelectionCardProps = {
        testId: string;
        recipe: DiscoveredRecipe;
        isSelected: boolean;
        isDismissed: boolean;
        onSelected: () => void;
        onUnselected: () => void;
        onDismiss: () => void;
        onRestore: () => void;
    }
    Index
    testId: string

    Unique identifier for testing

    Recipe data to display

    isSelected: boolean

    Whether the recipe is currently selected

    isDismissed: boolean

    Whether the recipe is flagged to be hidden (pending until Continue)

    onSelected: () => void

    Callback invoked when the recipe is selected

    onUnselected: () => void

    Callback invoked when the recipe is unselected

    onDismiss: () => void

    Callback invoked when the recipe is flagged to be hidden

    onRestore: () => void

    Callback invoked when a pending dismissal is undone