๐ TileLink with React Router example shouldn't use the "as" property
Closed this issue ยท 0 comments
patricklafrance commented
Describe the bug
(https://orbit.sharegate.design/?path=/docs/tile--tile#react-router)
Expected results
Something like:
const RouterTileLink = as(TileLink, RouterLink);
<RouterTileLink to="/buy">
<Heading>Buy a ticket</Heading>
<Content>Purchase a ticket for any of our space travel adventure.</Content>
</RouterTileLink>