Skip to content

Commit

Permalink
accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Br2850 committed Oct 28, 2024
1 parent ddcdbe4 commit c16b621
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default function ImageView(props) {
width={width}
alt={alt}
onClick={onClick}
style={{ cursor: href ? "pointer" : "default" }} // Change cursor based on href
{...getComponentProps(props, "image")}
/>
</Box>
Expand Down

0 comments on commit c16b621

Please sign in to comment.