Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing additional attributes to Script #80

Open
dreyks opened this issue Sep 18, 2019 · 0 comments
Open

Passing additional attributes to Script #80

dreyks opened this issue Sep 18, 2019 · 0 comments

Comments

@dreyks
Copy link

dreyks commented Sep 18, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant