Last active
December 10, 2020 22:38
-
-
Save fadihanna123/2f9aeccf5ac2257143b37a05c72c94b1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// File 1 | |
import getCompanyName from "./Functions"; | |
const Config = () => { | |
let getname = getCompanyName() ? getCompanyName() : "Gssons EL AB"; | |
}; | |
export default Config; | |
// File 2 | |
import getname from "./Includes/Config"; | |
return (<>{getname}</>) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment