The MediaContainer component is used to make responsive images and videos
within your app. This component also allows for focing a specific aspect
ratio for these elements with both the height and width props are
provided.
The MediaOverlay component is used to create an overlay over specific media
items within the MediaContainer component. You will need to apply most of
your own styles as this is really just used for positioning.
Generated using TypeDoc
The overlay positions relative to the
MediaContainercomponent. Most of the sizes are self-explanitory, but themiddleposition will be centered vertically whilecenterwill be centeredhorizontally.