Skip to content
This repository has been archived by the owner on Jul 8, 2018. It is now read-only.

Commit

Permalink
Use prop-types package
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Burtchaell committed Apr 17, 2017
1 parent 2a0c50a commit 283381b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/field.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import Label from './label';
import Input from './input';

Expand Down
3 changes: 2 additions & 1 deletion src/form.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import Submit from './submit';
import Field from './field';

Expand Down
3 changes: 2 additions & 1 deletion src/input.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';

/**
* @function Input
Expand Down
3 changes: 2 additions & 1 deletion src/label.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';

/**
* @function Label
Expand Down
3 changes: 2 additions & 1 deletion src/submit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import PropTypes from 'prop-types';

/**
* @function Submit
Expand Down

0 comments on commit 283381b

Please sign in to comment.