Created
October 15, 2021 11:45
-
-
Save naishe/cbe9c3e835af01f8b01d22491e7e12c5 to your computer and use it in GitHub Desktop.
fetch version from package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{/** Relative path of package.json from the component */} | |
<Text>{require('../../package.json').version}</Text> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment