react-object-fit-container

js
Image or Video takes 100% height and width of container;
Version 1.0.8 License MIT
<script src=" https://cdn.jsdelivr.net/npm/react-object-fit-container@1.0.8/index.min.js "></script>
Image or Video takes 100% height and width of container;