ant-design-vue/components/input/demo/size.vue
2017-12-07 12:31:12 +08:00

24 lines
403 B
Vue

<template>
<div class="example-input">
<AntInput size="large" placeholder="large size" />
<AntInput placeholder="default size" />
<AntInput size="small" placeholder="small size" />
</div>
</template>
<script>
import { Input } from 'antd'
export default {
components: {
AntInput: Input,
},
}
</script>
<style>
.example-input .ant-input {
width: 200px;
margin: 0 8px 8px 0;
}
</style>