Created
March 15, 2021 15:02
-
-
Save devbyray/fa2eac07b9232c7fbab7beb49f801b13 to your computer and use it in GitHub Desktop.
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
// File where you defined your styled components | |
import { mediaQueries } from 'styles/components/breakpoints' | |
export const Columns = styled.div` | |
padding-top: 2rem; | |
display: grid; | |
gap: 2rem; | |
${() => mediaQueries('sm')(`grid-template-columns: 2fr 3fr;`)} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment