mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
Update the nuxt3 version. Co-authored-by: Jonathan Adeline <jonathan@baserow.io> Co-authored-by: Bram Wiepjes <bramw@protonmail.com> Co-authored-by: Cezary <cezary@baserow.io> Co-authored-by: Tsering Paljor <tsering@baserow.io> Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io> Co-authored-by: Bram <bram2w@users.noreply.github.com>
40 lines
721 B
JavaScript
40 lines
721 B
JavaScript
import ButtonAdd from '@baserow/modules/core/components/ButtonAdd'
|
|
|
|
export default {
|
|
title: 'Baserow/Buttons/ButtonAdd',
|
|
component: ButtonAdd,
|
|
tags: ['autodocs'],
|
|
argTypes: {
|
|
disabled: {
|
|
control: 'boolean',
|
|
description: 'If true the button will be disabled',
|
|
},
|
|
},
|
|
args: {
|
|
disabled: false,
|
|
},
|
|
}
|
|
|
|
export const Default = {
|
|
render: (args) => ({
|
|
components: { ButtonAdd },
|
|
setup() {
|
|
return { args }
|
|
},
|
|
template: '<ButtonAdd v-bind="args" />',
|
|
}),
|
|
}
|
|
|
|
export const Disabled = {
|
|
args: {
|
|
disabled: true,
|
|
},
|
|
render: (args) => ({
|
|
components: { ButtonAdd },
|
|
setup() {
|
|
return { args }
|
|
},
|
|
template: '<ButtonAdd v-bind="args" />',
|
|
}),
|
|
}
|