Skip to content

Passing additional attributes to Script #80

Description

@dreyks

the doc says that Scripts accepts "anything else you can pass to a <script> tag". But judging from the code
https://github.com/palmerhq/the-platform/blob/f721b0a2e44a86b4e5c0474c592ac46b3827ba9a/src/Script.tsx#L8-L14
it only passes src. However, some third-party libraries like paypal use data attributes to pass parameters to their scripts and that's not possible with Script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions