mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-13 18:35:25 +08:00
Update code per @ZmagoD's request
This commit is contained in:
parent
329dd4f1b0
commit
0412c6f283
2 changed files with 4 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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) =>
|
||||
|
|
Loading…
Reference in a new issue