ant-design-vue/components/vc-steps/demo/customIcon.vue

25 lines
455 B
Vue
Raw Normal View History

2018-03-07 10:50:11 +08:00
<script>
import Steps, { Step } from '../index'
import '../assets/index.less'
import '../assets/iconfont.less'
export default {
data () {
return {
}
},
render () {
return (
<Steps current={1}>
2018-03-09 18:52:31 +08:00
<Step title='步骤1' >
<i class={`rcicon rcicon-cloud`} slot='icon'/>
</Step>
2018-03-07 10:50:11 +08:00
<Step title='步骤2' icon='apple' />
<Step title='步骤3' icon='github' />
</Steps>
)
},
}
</script>