Skip to content

Commit

Permalink
Merge pull request #376 from vuelessjs/VL_UModalConfirm-divider-prop-…
Browse files Browse the repository at this point in the history
…add_Vitalii-Dudnik

VL_UModalConfirm-divider-prop-add_Vitalii-Dudnik
  • Loading branch information
KinduD21 authored Feb 12, 2025
2 parents 4171580 + e2d2524 commit 46e1239
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ui.container-modal-confirm/UModalConfirm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const {
:close-on-cross="closeOnCross"
:close-on-overlay="closeOnOverlay"
:mobile-stick-bottom="mobileStickBottom"
no-divider
:divider="divider"
mobile-bottom-align
v-bind="confirmModalAttrs"
:data-test="getDataTest()"
Expand Down
1 change: 1 addition & 0 deletions src/ui.container-modal-confirm/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default /*tw*/ {
size: "sm",
confirmColor: "brand",
inner: false,
divider: false,
closeOnEsc: true,
closeOnCross: true,
closeOnOverlay: true,
Expand Down
5 changes: 5 additions & 0 deletions src/ui.container-modal-confirm/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ export interface Props {
*/
inner?: boolean;

/**
* Show divider between content end footer.
*/
divider?: boolean;

/**
* Attach small modal to the bottom of the screen (mobile version only).
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ui.container-modal/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default /*tw*/ {
defaults: {
size: "sm",
inner: false,
divider: true,
divider: false,
closeOnEsc: true,
closeOnCross: true,
closeOnOverlay: true,
Expand Down
2 changes: 1 addition & 1 deletion src/ui.container-modal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export interface Props {
inner?: boolean;

/**
* Hide divider between content end footer.
* Show divider between content end footer.
*/
divider?: boolean;

Expand Down

0 comments on commit 46e1239

Please sign in to comment.