@carbon/ibm-security
Version:
Carbon for Cloud & Cognitive IBM Security UI components
22 lines (20 loc) • 805 B
JavaScript
import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
import _extends from "@babel/runtime/helpers/extends";
/**
* @file Step indicator.
* @copyright IBM Security 2019 - 2020
*/
import React from 'react';
import { ProgressIndicator, ProgressStep } from '../ProgressIndicator';
// TODO: `2.x` - Remove in favor of `ProgressIndicator`.
var StepIndicator = function StepIndicator(_ref) {
var other = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
return /*#__PURE__*/React.createElement(ProgressIndicator, _extends({
vertical: true
}, other));
};
var Step = function Step(_ref2) {
var other = _extends({}, (_objectDestructuringEmpty(_ref2), _ref2));
return /*#__PURE__*/React.createElement(ProgressStep, other);
};
export { StepIndicator, Step };