Helper function to generate HTML for a carousel image.

bs_carousel_image(...)

Arguments

...

additional arguments passed to htmltools::[tag][htmltools::tag]$img, typically includes src

Value

htmltools::[tag][htmltools::tag], </img>

Details

This function wraps htmltools::[tag][htmltools::tag]$img, but adding a class to center the image in the carousel.

See also