Dankoss Docs - v0.1.0
    Preparing search index...
    • Main ProductModal component. Serves as the context provider (Subject in Observer pattern) for its sub-components.

      Parameters

      • __namedParameters: { children: ReactNode; item: DealCard; onClose: () => void }

      Returns Element

    Index

    Methods

    • Sub-component for modal action buttons (e.g., Add to Cart). Encapsulates specific interactive logic within the Composite structure.

      Parameters

      • __namedParameters: { categoryTitle: string }

      Returns Element

    • Parameters

      • __namedParameters: { categoryTitle: string }

      Returns Element

    • Sub-component for rendering the modal header. Part of the Builder interface for the ProductModal.

      Parameters

      • __namedParameters: { categoryTitle: string }

      Returns Element

    • Parameters

      • __namedParameters: { children: ReactNode }

      Returns Element

    • Parameters

      • __namedParameters: { children: ReactNode }

      Returns Element

    • Parameters

      • __namedParameters: { children: ReactNode }

      Returns Element