Created
July 5, 2021 04:28
-
-
Save shahidcodes/8911a907260b018df2741e7d0ea51da3 to your computer and use it in GitHub Desktop.
Tailwind Breakpoint Debug
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
import React from 'react'; | |
export const BreakpointDebug: React.FC<{}> = () => { | |
return ( | |
<div className="bg-white rounded-full flex items-center justify-center p-2 px-3"> | |
<div className="sm:hidden md:hidden lg:hidden">sm</div> | |
<div className="hidden sm:block md:hidden lg:hidden">md</div> | |
<div className="hidden sm:hidden md:block lg:hidden">lg</div> | |
<div className="hidden sm:hidden md:hidden lg:block">lg+</div> | |
</div> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment