Dankoss Docs - v0.1.0
    Preparing search index...
    • Parameters

      • props: {
            item: any;
            onClick: () => void;
            onDecrease: () => void;
            onIncrease: () => void;
            onRemove: () => void;
        }

        The component props.

        • item: any

          The data object representing the item in the cart.

        • onClick: () => void

          Callback triggered when the item's main area is clicked (e.g., to view details). *

        • onDecrease: () => void

          Callback triggered when the decrement button is clicked.

        • onIncrease: () => void

          Callback triggered when the increment button is clicked.

        • onRemove: () => void

          Callback triggered when the removal (X) button is clicked.

      Returns Element

      The rendered list item UI.

      Displays a single item within the cart drawer, rendering its thumbnail, title, price, and quantity controls. *