Skip to content

Instantly share code, notes, and snippets.

@stunaz
stunaz / Callback.js
Created Nov 29, 2017 — forked from romanlex/Callback.js
react-final-form + validation.js + Fragment + Portal + outside submitting
View Callback.js
import React, { Component } from 'react';
import Type from 'prop-types';
import { DividerChildContent } from 'ui/components/DividerBlock';
import CallbackForm from './CallbackForm';
class Callback extends Component {
render() {
const containerActionId = `CallbackFormActions`;
return (
View GoogleAddressField.jsx
// Definition
import React, { Component } from 'react';
import { TextField } from 'redux-form-material-ui';
let pegaseUniqueId = 0;
const getUniqueId = () => {
return pegaseUniqueId++;
};