docs_vue2/one/docs/demo/radio/size.vue
2020-08-13 11:47:56 +08:00

48 lines
609 B
Vue

<template>
<article>
<section>
<veui-radio
v-model="size"
value="m"
:ui="size"
name="size"
>
Normal size
</veui-radio>
<veui-radio
v-model="size"
value="s"
:ui="size"
name="size"
>
Small size
</veui-radio>
</section>
</article>
</template>
<script>
import { Radio } from 'veui'
export default {
components: {
'veui-radio': Radio
},
data () {
return {
size: 'm'
}
}
}
</script>
<style lang="less" scoped docs>
.veui-radio {
margin-right: 20px;
}
section {
margin-bottom: 20px;
}
</style>