[new feature] Field: add arrow-direction prop (#3679)

This commit is contained in:
neverland
2019-06-28 15:33:08 +08:00
committed by GitHub
parent 55f215d08d
commit a6ce44fbb0
9 changed files with 40 additions and 20 deletions
+10
View File
@@ -235,3 +235,13 @@ test('label-class prop', () => {
});
expect(wrapper).toMatchSnapshot();
});
test('arrow-direction prop', () => {
const wrapper = mount(Field, {
propsData: {
isLink: true,
arrowDirection: 'up'
}
});
expect(wrapper).toMatchSnapshot();
});