-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
typesAn issue related to Typescript types & generatorAn issue related to Typescript types & generator
Description
I'm getting:
TS2322: Type '{ source: string; }' is not assignable to type 'SVGProps<SVGImageElement>'.
Property 'source' does not exist on type 'SVGProps<SVGImageElement>'.
on something like:
return (
<div>
<image source='https://picsum.photos/200' />
</div>
)
Also it seems unhappy about objectFit
: TS2322: Type '"fit"' is not assignable to type 'ObjectFit'.
<image style={{ height: 300, objectFit: 'fit' }} source='https://picsum.photos/200' />
Metadata
Metadata
Assignees
Labels
typesAn issue related to Typescript types & generatorAn issue related to Typescript types & generator