[new feature] Button: add loading-size prop (#2854)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { mount } from '../../../test/utils';
|
||||
import Button from '..';
|
||||
|
||||
test('loading size', () => {
|
||||
const wrapper = mount(Button, {
|
||||
propsData: {
|
||||
loading: true,
|
||||
loadingSize: '10px'
|
||||
}
|
||||
});
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
Reference in New Issue
Block a user