gsoft-inc/sg-orbit

๐Ÿ› TileLink with React Router example shouldn't use the "as" property

Closed this issue ยท 0 comments

Describe the bug

(https://orbit.sharegate.design/?path=/docs/tile--tile#react-router)

image

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>