Skip to content

Instantly share code, notes, and snippets.

View antonderegt's full-sized avatar

Anton de Regt antonderegt

  • ABN AMRO
  • The Netherlands
View GitHub Profile
@antonderegt
antonderegt / code.js
Created July 24, 2018 04:17
Step-by-Step Guide To Create Sign Forms With React Native And Firebase 1
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
TextInput,
Button
} from 'react-native';
export default class App extends Component{
constructor(props) {
@antonderegt
antonderegt / code.js
Created July 24, 2018 04:03
Step-by-Step Guide To Create Sign Forms With React Native And Firebase 4
import React, { Component } from 'react';
import {
StyleSheet,
View,
} from 'react-native';
import {
Text,
Item,
Label,
Input,
@antonderegt
antonderegt / code.js
Created July 24, 2018 04:00
Step-by-Step Guide To Create Sign Forms With React Native And Firebase 3
import React, { Component } from 'react';
import {
StyleSheet,
View,
} from 'react-native';
import {
Text,
Item,
Label,
Input,
@antonderegt
antonderegt / code.js
Created July 24, 2018 03:55
Step-by-Step Guide To Create Sign Forms With React Native And Firebase 2
import React, { Component } from 'react';
import {
StyleSheet,
View,
} from 'react-native';
import {
Text,
Item,
Label,
Input,
@antonderegt
antonderegt / App.js
Created May 20, 2018 04:01
Step 5: Adding signatures
import React, { Component } from 'react';
import {
StyleSheet,
View,
} from 'react-native';
import {
Text,
Item,
Label,
Input,
@antonderegt
antonderegt / App.js
Created May 18, 2018 04:35
Step 4: Adding Firebase
import React, { Component } from 'react';
import {
StyleSheet,
View,
} from 'react-native';
import {
Text,
Item,
Label,
Input,
@antonderegt
antonderegt / App.js
Created May 6, 2018 22:42
Step 3: Making the form pretty, App.js
import React, { Component } from 'react';
import {
StyleSheet,
View,
} from 'react-native';
import {
Text,
Item,
Label,
Input,
@antonderegt
antonderegt / App.js
Created April 28, 2018 18:26
Step 2: Basic layout. App.js
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
TextInput,
Button
} from 'react-native';
export default class App extends Component{
@antonderegt
antonderegt / App.jsx
Created April 25, 2018 02:59
Step 5: Export to Excel
import React, { Component } from 'react';
import ReactTable from 'react-table'
import 'react-table/react-table.css'
import firebase from './config'
import XLSX from 'xlsx'
class App extends Component {
constructor(props) {
super(props)
this.state = {
@antonderegt
antonderegt / App.jsx
Created April 25, 2018 02:33
Step 4: Connect to FIrebase /src/App.js
import React, { Component } from 'react';
import ReactTable from 'react-table'
import 'react-table/react-table.css'
import firebase from './config'
class App extends Component {
constructor(props) {
super(props)
this.state = {
users: []