Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions apps/www/content/3.components/5.utilities/image.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ Copy and paste the following files into the same folder.

interface Props extends Experimental_GeneratedImage {
class?: string
alt?: string
}

const props = defineProps<Props>()
Expand All @@ -53,7 +52,6 @@ Copy and paste the following files into the same folder.

<template>
<img
:alt="props.alt"
:class="classes"
:src="src"
v-bind="$attrs"
Expand Down
2 changes: 0 additions & 2 deletions packages/elements/src/image/Image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { computed } from 'vue'

interface Props extends Experimental_GeneratedImage {
class?: HTMLAttributes['class']
alt?: string
}

const props = defineProps<Props>()
Expand All @@ -21,7 +20,6 @@ const src = computed(() => `data:${props.mediaType};base64,${props.base64}`)

<template>
<img
:alt="props.alt"
:class="classes"
:src="src"
v-bind="$attrs"
Expand Down