Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Dec 10, 2023
1 parent 82b2343 commit a9859f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/preact.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { html } from 'htm/preact'
import { render } from 'preact'
import { CloudinaryImage } from '../dist/cloudinary/preact'
import { CloudinaryImage } from '../src/cloudinary/preact'
import '../dist/style.css'
import './my-style.css'

Expand Down
1 change: 1 addition & 0 deletions src/cloudinary/preact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const CloudinaryImage = function (config:{cloudName:string}):Components {
const { decoding, filename, alt, loading, fetchpriority,
className, srcset, sizes } = props

// @ts-ignore -- related to `fetchpriority`
return h('img', {
class: props.class || className,
alt,
Expand Down

0 comments on commit a9859f1

Please sign in to comment.