You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read through the docs and looked at the code a bit. But I'm still not seeing a major difference between Card and Paper. From the doc examples, they both seem to look the same. Card seems to have specific inner children components, like CardActions, but couldn't that be used under Paper?
What's the difference between Card and Paper? When do you use one vs the other?
The text was updated successfully, but these errors were encountered:
To expand on that - Card is a very thin wrapper around Paper - it adds one prop that adds a specific elevation, and a style that sets overflow to hidden. (In progamma veritas)
So yes, you could use Paper as a substitute for Card to use with the Card child components, but it would be confusing if we didn't supply a suitable parent component.
I read through the docs and looked at the code a bit. But I'm still not seeing a major difference between Card and Paper. From the doc examples, they both seem to look the same. Card seems to have specific inner children components, like CardActions, but couldn't that be used under Paper?
What's the difference between Card and Paper? When do you use one vs the other?
The text was updated successfully, but these errors were encountered: