Closed anirudh-hegde closed 9 months ago
Wrap the xt.image component inside a xt.link component and use "href" prop for the xt.link component.
xt.link(
xt.image(
src="/github.svg",
height="30px",
width="30px",
padding_right='1px',),
href="https://github.com/anirudh-hegde",
)
You can also pass "is_external=True," if you want the link to open in a new tab!