Skip to content

Commit 8bc0ce8

Browse files
authored
Update/powered by redesign (#2499)
1 parent 4ba96d0 commit 8bc0ce8

File tree

4 files changed

+465
-83
lines changed

4 files changed

+465
-83
lines changed

src/ui/buttons/buttons.jsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,14 @@ export function Buttons(props: ButtonsProps): ElementNode {
315315
/>
316316
) : null}
317317

318-
{showPoweredBy ? <PoweredByPayPal locale={locale} nonce={nonce} /> : null}
318+
{showPoweredBy ? (
319+
<PoweredByPayPal
320+
locale={locale}
321+
nonce={nonce}
322+
buttonColor={style.color}
323+
shouldApplyRebrandedStyles={style.shouldApplyRebrandedStyles}
324+
/>
325+
) : null}
319326

320327
{message && message.position === MESSAGE_POSITION.BOTTOM ? (
321328
<Message markup={messageMarkup} position={message.position} />

0 commit comments

Comments
 (0)