rc-steps@3.4.1

steps ui component for react

import 'rc-steps/assets/index.css';
import 'rc-steps/assets/iconfont.css';
import React from 'react';
import ReactDOM from 'react-dom';
import Steps, { Step } from 'rc-steps';

const Icon = ({ type }) => <i className={`rcicon rcicon-${type}`} />;

ReactDOM.render(
  <Steps current={1}>
    <Step title="步骤1" icon={<Icon type="cloud" />} />
    <Step title="步骤2" icon="apple" />
    <Step title="步骤3" icon="github" />
  </Steps>
, document.getElementById('__react-content'));
Fork me on GitHub