Hey all, I'm trynna create a shared component that is gonna serve as I translator text. Basically, I created a list on SharePoint that I search for id and text and get a translated text to replace the content on app. For example, if the user set the language up to English, the login button's text will appear"Login", the same for portughese "Acessar" and so on. I created a flow that filters the appropriated text bassed on id and language passed and returns the result (the translated content).

That's the flow and the idea was to create a shared Text Component which could execute this flow and get the result (the translated text). So, every time I call it, I would pass the parameter TextId only, and the component, in its Text property, would return the translated text.
I already have a function that does this
First(
Filter(Translations, LanguageTag = LanguageId && TextId = "LoginId")
).LocalizedText
but I need to pass it for every element in all screens, e.g: button, text, input. Therefore, I'd love if it was possible to create a component Text to be used wherever on the app.
This is to create a Text component only, it's not applicable to buttons, inputs or other elements. If you don't get what I meant, plase follow this video that I used as an example.