card-media
v4.9.10arrow_drop_downv4.9.10
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
823
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
24 KB
Demos:
- [Cards](https://material-ui.com/components/cards/)
API:
- [CardMedia API](https://material-ui.com/api/card-media/)
Like
Install card-media as a package?
Copied
npm i @bit/mui-org.material-ui.card-media
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
cardMedia ()
Properties
Name | Type | Description |
---|---|---|
children | custom | The content of the component. |
classes (required) | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
component | elementType | Component for rendering image. Either a string to use a DOM element or a component. |
image | string | Image to be displayed as a background image.
Either |
src | string | An alias for |
style | object |