10 lines
253 B
TypeScript
10 lines
253 B
TypeScript
const Placeholder = () => {
|
|
if (typeof document !== 'undefined') {
|
|
const InputCep = document.querySelector('.vtex-address-form-4-x-input')
|
|
InputCep?.setAttribute('placeholder', 'Digite seu CEP')
|
|
}
|
|
|
|
return null
|
|
}
|
|
export default Placeholder
|