Skip to content

Commit

Permalink
chore(NcEmojiPicker): use new Vue 3.5 template syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Feb 28, 2025
1 parent cd6295c commit 010f1cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/NcEmojiPicker/NcEmojiPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ This component allows the user to pick an emoji.
color="var(--color-primary-element)"
:data="emojiIndex"
:emoji="previewFallbackEmoji"
:i18n="i18n"
:native="native"
:i18n
:native
:emoji-size="20"
:per-line="8"
:picker-styles="{ width: '320px' }"
:show-preview="showPreview"
:show-preview
:skin="currentSkinTone"
:show-skin-tones="false"
:title="previewFallbackName"
Expand Down Expand Up @@ -156,7 +156,7 @@ This component allows the user to pick an emoji.
@trailing-button-click="clearSearch(); onSearch('');"
@update:model-value="onSearch(search)" />
<NcColorPicker palette-only
:container="container"
:container
:palette="skinTonePalette"
:model-value="currentColor.color"
@update:model-value="onChangeSkinTone">
Expand All @@ -177,13 +177,13 @@ This component allows the user to pick an emoji.
<Emoji class="emoji-selected"
:data="emojiIndex"
:emoji="selectedEmoji"
:native="true"
native
:size="32"
@click="unselect" />
<Emoji class="emoji-delete"
:data="emojiIndex"
emoji=":x:"
:native="true"
native
:size="10"
@click="unselect" />
</template>
Expand Down

0 comments on commit 010f1cf

Please sign in to comment.