Completely updated React, fixed #11, (hopefully)
This commit is contained in:
18
goTorrentWebUI/node_modules/material-ui/es/Card/Card.js
generated
vendored
18
goTorrentWebUI/node_modules/material-ui/es/Card/Card.js
generated
vendored
@@ -1,10 +1,9 @@
|
||||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
||||
|
||||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
||||
|
||||
import _extends from 'babel-runtime/helpers/extends';
|
||||
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
|
||||
// @inheritedComponent Paper
|
||||
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import Paper from '../Paper';
|
||||
|
||||
function Card(props) {
|
||||
@@ -14,6 +13,17 @@ function Card(props) {
|
||||
return React.createElement(Paper, _extends({ elevation: raised ? 8 : 2 }, other));
|
||||
}
|
||||
|
||||
Card.propTypes = process.env.NODE_ENV !== "production" ? {
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
className: PropTypes.string,
|
||||
/**
|
||||
* If `true`, the card will use raised styling.
|
||||
*/
|
||||
raised: PropTypes.bool
|
||||
} : {};
|
||||
|
||||
Card.defaultProps = {
|
||||
raised: false
|
||||
};
|
||||
|
Reference in New Issue
Block a user