[improvement] rename packages dir to src (#3659)

This commit is contained in:
neverland
2019-06-27 11:25:57 +08:00
committed by GitHub
parent 8489918dca
commit 75c79b7044
619 changed files with 21 additions and 21 deletions
+37
View File
@@ -0,0 +1,37 @@
import { createNamespace } from '../utils';
import { GREEN } from '../utils/color';
const [createComponent, bem] = createNamespace('steps');
export default createComponent({
props: {
active: Number,
inactiveIcon: String,
direction: {
type: String,
default: 'horizontal'
},
activeColor: {
type: String,
default: GREEN
},
activeIcon: {
type: String,
default: 'checked'
}
},
data() {
return {
steps: []
};
},
render(h) {
return (
<div class={bem([this.direction])}>
<div class={bem('items')}>{this.slots()}</div>
</div>
);
}
});