mirror of
https://github.com/vale981/accounts-ui
synced 2025-03-04 17:31:41 -05:00
added 'prop-types' package
This commit is contained in:
parent
4e751c5774
commit
79bfb36236
5 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
import React from 'react';
|
||||
import { Accounts } from 'meteor/accounts-base';
|
||||
import PropTypes from 'prop-types'
|
||||
|
||||
let Link;
|
||||
try { Link = require('react-router').Link; } catch(e) {}
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import React from 'react';
|
||||
import { Accounts } from 'meteor/accounts-base';
|
||||
import PropTypes from 'prop-types'
|
||||
|
||||
export class Field extends React.Component {
|
||||
propTypes: {
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { Accounts } from 'meteor/accounts-base';
|
||||
import PropTypes from 'prop-types'
|
||||
|
||||
import './Fields.jsx';
|
||||
import './Buttons.jsx';
|
||||
import './FormMessage.jsx';
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import React from 'react';
|
||||
import { Accounts } from 'meteor/accounts-base';
|
||||
import PropTypes from 'prop-types'
|
||||
import { T9n } from 'meteor/softwarerero:accounts-t9n';
|
||||
import { hasPasswordService } from '../../helpers.js';
|
||||
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
"url": "https://github.com/studiointeract/accounts-ui/issues"
|
||||
},
|
||||
"homepage": "https://github.com/studiointeract/accounts-ui",
|
||||
"dependencies": {},
|
||||
"dependencies": {
|
||||
"prop-types": "^15.5.8"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=0.14.7 || ^15.0.0",
|
||||
"react-dom": ">=0.14.7 || ^15.0.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue