add SelectableRow component
This commit is contained in:
parent
a509990937
commit
4b292564d8
16
src/components/selectable_row/selectable_row.js
Normal file
16
src/components/selectable_row/selectable_row.js
Normal file
@ -0,0 +1,16 @@
|
||||
import Checkbox from '../checkbox/checkbox.js'
|
||||
|
||||
const SelectableRow = {
|
||||
components: {
|
||||
Checkbox
|
||||
},
|
||||
props: ['checked'],
|
||||
data () {
|
||||
},
|
||||
computed: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
|
||||
export default SelectableRow
|
10
src/components/selectable_row/selectable_row.vue
Normal file
10
src/components/selectable_row/selectable_row.vue
Normal file
@ -0,0 +1,10 @@
|
||||
<template>
|
||||
<div>
|
||||
<Checkbox v-model="checked" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script src="./selectable_row.js"></script>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user