challenge-vtex-io-carlos-wi.../react/components/Pix/Pix.tsx
2023-01-25 17:47:56 -03:00

15 lines
349 B
TypeScript

import React from "react";
import { useProduct } from "vtex.product-context";
// import styles from "./styles.css";
const Pix = () => {
const product = useProduct();
console.log(product);
return <span>Pixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</span>;
// return <button className={styles.PixButton}>Pix</button>;
};
export default Pix;