<bolt-trigger>
is needed to create an image modal that gets triggered from either the Image component or the Device Viewer component. The following are examples of how you can assemble the necessary pieces together. Please note that you should use the width
prop on <bolt-modal>
to accommodate your needs, optimal
width is about 70 characters wide, full
width will take up the width of the page.width
is set to auto
and image has width
attribute defined.width
is set to auto
and image has width
attribute defined.