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 aed83db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
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 aed83db

Please sign in to comment.