I'm trying to embed a script tag in my react-native mobile app. So far, I've been trying to create a component class and export that, but I was wondering if there's a way to export the script tag as a const
with the following method:
export const Variable = JSX.Element => (script tag embedded here)
I can't seem to have it work and importing seems to also have a few issues. Let me know what is the method you would use to most easily export a script tag in react-native.