mirror of
https://github.com/frappe/books.git
synced 2024-12-25 20:11:15 +00:00
180845aa0c
- Remove rows button - Update frappe-datatable to 1.1.1
9 lines
272 B
Vue
9 lines
272 B
Vue
<template functional>
|
|
<button type="button"
|
|
:class="['btn btn-sm', 'btn-' + Object.keys(props).find(key => ['primary', 'secondary', 'light', 'dark', 'danger'].includes(key))]"
|
|
v-bind="data.attrs"
|
|
v-on="listeners"
|
|
>
|
|
<slot></slot>
|
|
</button>
|
|
</template> |