@versionone/ui
Version:
Open-source and community supported collection of common UI components built with React. As an open-sourced and community supported project, VersionOne UI is not formally supported by VersionOne.
21 lines (16 loc) • 472 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var computeZDepths = function computeZDepths() {
var lowestZDepth = 0;
var highestZDepth = 5;
var depthIncrement = 1;
var zDepths = [];
for (var depth = lowestZDepth; depth <= highestZDepth; depth += depthIncrement) {
zDepths.push(depth);
}
return zDepths;
};
exports.default = _react.PropTypes.oneOf(computeZDepths());