21 lines
427 B
TypeScript
21 lines
427 B
TypeScript
import React from 'react'
|
|
import './pix.css'
|
|
import { useProduct } from 'vtex.product-context'
|
|
|
|
const Example = () => {
|
|
const productContext = useProduct()
|
|
|
|
console.log('productContext', productContext)
|
|
|
|
return (
|
|
<div className="pix-container">
|
|
<img
|
|
src="https://agenciamagma.vteximg.com.br/arquivos/pix-icon-sauloklein-m3academy.svg"
|
|
alt="pix"
|
|
/>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Example
|