2023-01-12 16:56:35 +00:00
|
|
|
import React from 'react'
|
2023-02-02 21:19:52 +00:00
|
|
|
import './pix.css'
|
|
|
|
import { useProduct } from 'vtex.product-context'
|
2023-01-12 16:56:35 +00:00
|
|
|
|
|
|
|
const Example = () => {
|
2023-02-02 21:19:52 +00:00
|
|
|
const productContext = useProduct()
|
|
|
|
|
|
|
|
console.log('productContext', productContext)
|
|
|
|
|
2023-01-12 16:56:35 +00:00
|
|
|
return (
|
2023-02-02 21:19:52 +00:00
|
|
|
<div className="pix-container">
|
|
|
|
<img
|
|
|
|
src="https://agenciamagma.vteximg.com.br/arquivos/pix-icon-sauloklein-m3academy.svg"
|
|
|
|
alt="pix"
|
|
|
|
/>
|
|
|
|
</div>
|
2023-01-12 16:56:35 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2023-02-02 21:19:52 +00:00
|
|
|
export default Example
|