Skip to content

Instantly share code, notes, and snippets.

View RouillerRomain's full-sized avatar

Romain Rouiller RouillerRomain

View GitHub Profile
import firebase from 'firebase/app';
import 'firebase/firestore';
import 'firebase/auth';
// Replace this with your own config details
var config = {
apiKey: "AIzaSyBZ0iclqLM6B2ccDAZQqXO0TIhScB5K4EQ",
authDomain: "a-simple-cms.firebaseapp.com",
databaseURL: "https://a-simple-cms.firebaseio.com",
projectId: "a-simple-cms",
import React, { Component } from 'react'
class ClassComponent extends Component {
render() {
return (
<div>
<p> My First ClassComponent </p>
</div>
)
}
import React from 'react'
const FunctionnalComponent = (Props) => {
return (
<div className="container">
<p> Our first Functionnal Component ! </p>
</div>
)
}
export default FunctionnalComponent