Skip to content

[Bug] Incorrect types for PayPalButtonStyle #863

@sendemy

Description

@sendemy

Library used

paypal-js

🐞 Describe the Bug

A missing disableMaxHeight field in PayPalButtonStyle type

🔬 Minimal Reproduction

PayPalButtonStyle is missing disableMaxHeight field

😕 Actual Behavior

Typescript throws an error: Object literal may only specify known properties, and 'disableMaxHeight' does not exist in type 'PayPalButtonStyle'.

🤔 Expected Behavior

Types should match the interfaces outlined in documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions