JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/js/bootstrap.min.js"></script>
<div class="container my-4">
<p class="font-weight-bold">This simple example shows how to place an image within a bootstrap popover. You can
define if you want to launch the popover on hover or on click.</p>
<p><strong>Detailed documentation and more examples of Bootstrap grid you can find in our <a href="https://mdbootstrap.com/docs/jquery/javascript/popovers/"
target="_blank">Bootstrap Popovers Docs</a></strong></p>
<a class="btn btn-primary" data-toggle="popover-hover" data-img="https://placekitten.com/500/300">Hover
over me</a>
</div>
JavaScript
// popovers initialization - on hover
$('[data-toggle="popover-hover"]').popover({
html: true,
trigger: 'hover',
placement: 'bottom',
content: function () { return '<img src="' + $(this).data('img') + '" class="img-fluid"/>'; }
});