reaja visibilidade do componente

// Using the style prop you can set the css display style by state
style={paymentType === "pickup" ? { display: "block" } : { display: "none" }}
Av3