card-media

v4.9.10arrow_drop_down
v4.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/)
2 contributors
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
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right
cardMedia ()

Demos:

API:

Properties
NameTypeDescription
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 image or src prop must be specified. Note that caller must specify height otherwise the image will not be visible.

src
string

An alias for image property. Available only with media components. Media components: video, audio, picture, iframe, img.

style
object
Help and resources