Skip to content

Instantly share code, notes, and snippets.

@Dchole
Last active Aug 7, 2021
Embed
What would you like to do?
A custom link button with MaterialUI and next/link
// Usage
import ButtonLink from "@/components/ButtonLink"
function App() {
return (
<ButtonLink
href="/store"
variant="contained"
color="primary"
endIcon={<StoreIcon />}
>
Go to our store
</ButtonLink>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment