Skip to content

Commit

Permalink
Update IconSelection.vue (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
seggewiss committed Feb 21, 2024
1 parent 0a3e363 commit 7681461
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/icon-kit/docs/components/IconSelection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ const props = defineProps({
icons: {}
});
const exampleHTML = computed(() => props.icon ? `<SwagIcon name="${props.icon.name}" type="${props.icon.mode}" />` : null);
const exampleVue2 = computed(() => props.icon ? `<SwagIcon name="${props.icon.name}" type="${props.icon.mode}" />` : null);
const exampleVue3 = computed(() => props.icon ? `<SwagIcon name="${props.icon.name}" type="${props.icon.mode}" />` : null);
const exampleReact = computed(() => props.icon ? `<SwagIcon name="${props.icon.name}" type="${props.icon.mode}" />` : null);
const exampleHTML = computed(() => props.icon ? `<sw-icon name="${props.icon.mode}-${props.icon.name}" />` : null);
const exampleVue2 = computed(() => props.icon ? `<sw-icon name="${props.icon.mode}-${props.icon.name}" />` : null);
const exampleVue3 = computed(() => props.icon ? `<sw-icon name="${props.icon.mode}-${props.icon.name}" />` : null);
const exampleReact = computed(() => props.icon ? `<sw-icon name="${props.icon.mode}-${props.icon.name}" />` : null);
const copyIconName = () => {
const tempTextArea = document.createElement('textarea');
Expand All @@ -162,4 +162,4 @@ const copyIconName = () => {
}
const embedPoint = '/resources/meteor-icon-kit/public/icons/';
</script>
</script>

0 comments on commit 7681461

Please sign in to comment.