-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Add ImgMediaCard TypeScript demo #15130
Conversation
jasondashwang
commented
Mar 31, 2019
•
edited
Loading
edited
- I have followed (at least) the PR section of the contributing guide.
return ( | ||
<Card className={classes.card}> | ||
<CardActionArea> | ||
<CardMedia |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting a TS compile error:
Type '{ component: "img"; alt: string; className: string; height: string; image: string; title: string; }' is not assignable to type 'IntrinsicAttributes & CardMediaProps & { children?: ReactNode; }'.
Property 'alt' does not exist on type 'IntrinsicAttributes & CardMediaProps & { children?: ReactNode; }'.ts(2322)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might have reference to #15098 ? |
See #15098 (comment) for the current status. |
No bundle size changes comparing 8db4931...a0adbc3 |
@eps1lon Does this require anything more on my end or are you handling it? |
@jasondashwang All good. Thanks for working on this. Much appreciated. |