Props for meaningful images - alt text is required

Hierarchy

  • MeaningfulImageProps

Properties

Properties

alt: string

Alt text - required for non-decorative images

decorative?: false

Whether the image is decorative (sets aria-hidden="true", alt="", and role="presentation")

Generated using TypeDoc