UNPKG

react-hold

Version:

Hold the empty presentational components in react.js

36 lines (24 loc) 1.05 kB
'use strict'; exports.__esModule = true; exports.fillerStyle = exports.targetProps = exports.cancelHold = exports.height = exports.width = exports.color = undefined; var _propTypes = require('prop-types'); var _propTypes2 = _interopRequireDefault(_propTypes); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /* | All of the prop types in this file is belongs to placeholder component. */ var color = exports.color = _propTypes2.default.string; var width = exports.width = _propTypes2.default.number; var height = exports.height = _propTypes2.default.number; var cancelHold = exports.cancelHold = _propTypes2.default.func; var targetProps = exports.targetProps = _propTypes2.default.object; // This is a inner prop use to add more custom style to the placeholder. var fillerStyle = exports.fillerStyle = _propTypes2.default.object; exports.default = { color: color, width: width, height: height, cancelHold: cancelHold, targetProps: targetProps, fillerStyle: fillerStyle };