feat: 09 => add label prop to CancelButton for customizable text

This commit is contained in:
puriphatt 2025-01-24 13:41:09 +07:00
parent 37642160c4
commit 7834cc4395
2 changed files with 4 additions and 1 deletions

View file

@ -1198,6 +1198,7 @@ watch(
<UndoButton outlined @click="undo()" v-if="state.mode === 'edit'" />
<CancelButton
@click="closeTab()"
:label="$t('dialog.action.close')"
v-if="state.mode === 'info'"
outlined
/>