OcImage component
Description
The OcImage
component can be used to display images.
Accessibility
An alt
attribute should be provided to describe the image content for screen readers.
Examples
Default
The basic usage of the component needs the image src
and should be accompanied by an alt
property.
html
<oc-image src="https://picsum.photos/200/300?image=871" alt="Some useful description" />