You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
384 B
25 lines
384 B
|
6 years ago
|
<script type="text/jsx">
|
||
|
|
export default {
|
||
|
|
name: "CheckboxGroup",
|
||
|
|
|
||
|
|
props: {value: String},
|
||
|
|
|
||
|
|
data: () => ({children: []}),
|
||
|
|
|
||
|
|
render() {
|
||
|
|
return (
|
||
|
|
<div class="checkbox-group">
|
||
|
|
{this.$slots.default}
|
||
|
|
</div>
|
||
|
|
)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style>
|
||
|
|
.checkbox-group {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-around;
|
||
|
|
}
|
||
|
|
</style>
|