how to put firebase config in a sperate file react native

JavaScript
const firebaseApp = firebase.initializeApp(firebaseConfig);
export default firebaseApp;
Source

Also in JavaScript: