Update code per @ZmagoD's request

This commit is contained in:
Luka Murn 2017-11-07 17:30:15 +01:00
parent 329dd4f1b0
commit 0412c6f283
2 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,7 @@ import * as React from "react";
import { FormControl } from "react-bootstrap";
import type { ValidationError } from "flow-typed";
import PropTypes from "prop-types";
import _ from "lodash";
type Props = {
tag: string,

View file

@ -1,11 +1,12 @@
// @flow
import * as React from "react";
import React from "react";
import { Button } from "react-bootstrap";
import PropTypes from "prop-types";
import type { Node } from 'react';
type Props = {
children?: React.Node
children?: Node
};
const ValidatedSubmitButton = (props: Props, context: any) =>