text: /**
   *
   * CartSummary
   *
   */
  
  import React from "react";
  
  import { Container, Row, Col } from "reactstrap";
  
  const CartSummary = (props) => {
    const { cartTotal } = props;
  
    return (
      <div className="cart-summary">
        <Container>
          {/* <Row className='mb-2 summary-item'>
            <Col xs='9'>
              <p className='summary-label'>Free Shippling</p>
            </Col>
            <Col xs='3' className='text-right'>
              <p className='summary-value'>$0</p>
            </Col>
          </Row> */}
          <Row className="mb-2 summary-item">
            <Col xs="9">
              <p className="summary-label">Total + tax</p>
            </Col>
            <Col xs="3" className="text-right">
              {/* {console.log(cartTotal)} */}
              <p className="summary-value">
                {cartTotal === "NaN" ? "Login or enter valid zipcode" : cartTotal}
              </p>
            </Col>
          </Row>
        </Container>
      </div>
    );
  };
  
  export default CartSummary;
  