# Modifying PayPal components configuration
Some components from this integration accept props allowing you to modify their configuration right from the theme.
# PaymentPaypalProvider
component
The PaymentPaypalProvider
component accepts a prop called beforeLoad
with the following signature:
type PaymentPaypalProviderBeforeLoadDetails = {
clientId: string,
debug: boolean,
locale: string,
currency: string
};
type Props = {
beforeLoad: (details: PaymentPaypalProviderBeforeLoadDetails) => Promise<PaymentPaypalProviderBeforeLoadDetails>
};
# PaymentPaypalExpressProvider
component
The PaymentPaypalExpressProvider
component accepts a prop called beforeLoad
with the following signature:
type PaymentPaypalExpressProviderBeforeLoadDetails = {
clientId: string,
debug: boolean,
locale: string,
currency: string,
checkoutSummaryStepUrl: string
};
type Props = {
beforeLoad: (details: PaymentPaypalExpressProviderBeforeLoadDetails) => Promise<PaymentPaypalExpressProviderBeforeLoadDetails>
};