Sichtbarkeit von Komponenten reagieren

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