mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 15:27:41 +00:00
save icon added
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
7916d435a0
commit
6f46a99d0f
3 changed files with 16 additions and 3 deletions
|
@ -49,9 +49,13 @@
|
|||
:value="modelValue.slugUrlText"
|
||||
:label="t('components.wishlist-header.main.form.slug-text.label')"
|
||||
/>
|
||||
<BaseButton class="h-12 w-full" mode="primary" :disabled="!meta.valid">{{
|
||||
t('components.wishlist-header.main.form.submit.text')
|
||||
}}</BaseButton>
|
||||
<BaseButton
|
||||
class="h-12 w-full"
|
||||
mode="primary"
|
||||
:disabled="!meta.valid"
|
||||
:icon="IconSave"
|
||||
>{{ t('components.wishlist-header.main.form.submit.text') }}</BaseButton
|
||||
>
|
||||
</Form>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -65,6 +69,7 @@ import BaseButton from '@/components/BaseButton.vue'
|
|||
import InputText from '@/components/InputText.vue'
|
||||
import InputCheckbox from '@/components/InputCheckbox.vue'
|
||||
import InputTextArea from '@/components/InputTextArea.vue'
|
||||
import { IconSave } from '@/components/icons'
|
||||
import { useEditMode } from '@/composables'
|
||||
import { Wishlist } from '@/types'
|
||||
import { PropType } from 'vue'
|
||||
|
|
7
src/components/icons/IconSave.vue
Normal file
7
src/components/icons/IconSave.vue
Normal file
|
@ -0,0 +1,7 @@
|
|||
<template>
|
||||
<svg viewBox="0 0 24 24">
|
||||
<path
|
||||
d="M17 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V7l-4-4m2 16H5V5h11.17L19 7.83V19m-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3s3-1.34 3-3s-1.34-3-3-3M6 6h9v4H6V6z"
|
||||
></path>
|
||||
</svg>
|
||||
</template>
|
|
@ -10,3 +10,4 @@ export { default as IconLogin } from './IconLogin.vue'
|
|||
export { default as IconCloudQuestion } from './IconCloudQuestion.vue'
|
||||
export { default as IconToggleOn } from './IconToggleOn.vue'
|
||||
export { default as IconToggleOff } from './IconToggleOff.vue'
|
||||
export { default as IconSave } from './IconSave.vue'
|
||||
|
|
Loading…
Add table
Reference in a new issue