Created
May 30, 2021 05:24
-
-
Save kjmczk/fe5a685d619690ec218847e6be3c5b68 to your computer and use it in GitHub Desktop.
components/Header.tsx - MDX Blog with Dark Mode - Medium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// components/Header.tsx | |
import ThemeSwitch from './theme-switch'; | |
const Header: React.FC = () => { | |
return ( | |
<header className="py-2"> | |
<div className="flex justify-between items-center"> | |
... | |
<ThemeSwitch /> | |
</div> | |
</header> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment