Skip to content
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 some Card TypeScript demos #15011

Merged
merged 3 commits into from
Mar 23, 2019
Merged

[docs] Add some Card TypeScript demos #15011

merged 3 commits into from
Mar 23, 2019

Conversation

Dudrie
Copy link
Contributor

@Dudrie Dudrie commented Mar 22, 2019

I added demos in for the Card section of the documentation. However, ImgMediaCard is not included because there are typing issues with the CardMedia (see #15010).

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation typescript labels Mar 22, 2019
@eps1lon
Copy link
Member

eps1lon commented Mar 22, 2019

The import order between JS and TS should be equal. I know it's just visual but we need the demos to be equivalent. Otherwise we won't catch future regressions automatically.

@Dudrie
Copy link
Contributor Author

Dudrie commented Mar 22, 2019

Yeah, makes sense. I changed the order back, so they match the ones from the JS files. Shouldn't thave used the VS Code organize import tool to remove ununsed imports 😅

@mui-pr-bot
Copy link

No bundle size changes comparing f9896bc...d9ef87f

Generated by 🚫 dangerJS against d9ef87f

@eps1lon eps1lon mentioned this pull request Mar 22, 2019
@eps1lon eps1lon merged commit be9a959 into mui:next Mar 23, 2019
@eps1lon eps1lon changed the title [docs] Add card demos in ts [docs] Add some Card TypeScript demos Mar 23, 2019
@eps1lon
Copy link
Member

eps1lon commented Mar 23, 2019

@Dudrie Much appreciated, thanks!

@Dudrie Dudrie deleted the ts-demos-card branch March 23, 2019 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants