Skip to content

Instantly share code, notes, and snippets.

@hakimel
Created February 15, 2023 00:09
Show Gist options
  • Save hakimel/cfcd591ec14183bb31e17c4d0314f73c to your computer and use it in GitHub Desktop.
Save hakimel/cfcd591ec14183bb31e17c4d0314f73c to your computer and use it in GitHub Desktop.
KodemoMenu with a custom logo
function Menu() {
return (
<KodemoMenu.Root>
<KodemoMenu.Dropdown trigger={<CustomLogo />}>
{/* ... */}
</KodemoMenu.Dropdown>
</KodemoMenu.Root>
);
}
function CustomLogo() {
return <div>Logo</div>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment