UNPKG

@alicloudfe/components

Version:

A react component library for aliyun

22 lines (21 loc) 782 B
var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; import React from 'react'; import { Step as NextStep } from '@alifd/next'; import hoistNonReactStatics from 'hoist-non-react-statics'; import { withThemeClass } from '../utils/withThemeClass'; var Step = (function (props) { // @ts-ignore return React.createElement(NextStep, __assign({ stretch: true }, props)); }); hoistNonReactStatics(Step, NextStep); export default withThemeClass(Step);