Skip to content

Commit

Permalink
Add selectedEmoji to index
Browse files Browse the repository at this point in the history
  • Loading branch information
serebrov committed Jun 10, 2023
1 parent 57d9951 commit 1b52168
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ import Anchors from './anchors.vue'
import Category from './category.vue'
import Preview from './preview.vue'
import Search from './search.vue'
import Emoji from './emoji.vue'
import Emoji from './Emoji.vue'
import SelectedEmoji from './selectedEmoji.vue'
const I18N = {
Expand Down
1 change: 1 addition & 0 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ export { default as Search } from './search.vue'
export { default as Skins } from './skins.vue'
export { default as Emoji } from './Emoji.vue'
export { default as Picker } from './Picker.vue'
export { default as SelectedEmoji } from './selectedEmoji.vue'
10 changes: 8 additions & 2 deletions src/components/selectedEmoji.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
<h3 class="emoji-mart-category-label">{{ i18n.selected }}</h3>
</div>

<emoji :data="data" :emoji="emoji" :size="32" @click="onClick" />
<emoji
class="emoji-selected"
:data="data"
:emoji="emoji"
:size="32"
@click="onClick"
/>
<emoji
@click="onRemove"
class="emoji-delete"
Expand All @@ -16,7 +22,7 @@
</template>

<script>
import Emoji from './emoji.vue'
import Emoji from './Emoji.vue'
export default {
props: {
Expand Down

0 comments on commit 1b52168

Please sign in to comment.