Dankoss Docs - v0.1.0
    Preparing search index...
    • Handles the "Add to Cart" interactions. Parses product quantities (weights vs. pieces) to provide accurate increment/decrement controls and dispatches actions to the global cart store. *

      Parameters

      • props: { categoryTitle: string; item: DealCard }

        Component props.

        • categoryTitle: string

          The category context for display tags.

        • item: DealCard

          The product data object to add to the cart.

      Returns Element

      The actions component (quantity selectors and add button).