Created
September 7, 2018 10:41
-
-
Save themgoncalves/921ede7932a92d8e55f316bcf49d64f6 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
// first we need to import the `configureBreakpoints` function | |
import { configureBreakpoints } from '@themgoncalves/super-query'; | |
// here is an example of a custom breakpoint | |
const customBreakpoints = { | |
extraSmall: 360, | |
small: 640, | |
medium: 960, | |
large: 1024, | |
extraLarge: 1200, | |
superExtraLarge: 1600, | |
}; | |
// then just import your custom breakpoints into the `configureBreakpoints` and you are ready to go! | |
configureBreakpoints(customBreakpoints); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment