Skip to content

Commit

Permalink
feat: Allow actions of type of button to be non flat (close #939)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Aug 21, 2024
1 parent 3fbab31 commit bb74fe1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/client/components/action/KAction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
:icon="!iconRight ? computedIcon : undefined"
:icon-right="iconRight ? computedIcon : undefined"
:size="size"
flat
:flat="flat"
:outline="outline"
:round="label === null"
:rounded="label !== null"
:stack="stack"
Expand Down
4 changes: 4 additions & 0 deletions core/client/utils/utils.actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export const actionProps = {
type: String,
default: 'md'
},
flat: {
type: Boolean,
default: true
},
outline: {
type: Boolean,
default: false
Expand Down

0 comments on commit bb74fe1

Please sign in to comment.