Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Update IconSelection.vue
Browse files Browse the repository at this point in the history
Update the Icon examples to show Shopware code not docs code.
  • Loading branch information
seggewiss authored Feb 21, 2024
1 parent f5a0117 commit 6279de9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 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 6279de9

Please sign in to comment.