Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save themgoncalves/921ede7932a92d8e55f316bcf49d64f6 to your computer and use it in GitHub Desktop.
Save themgoncalves/921ede7932a92d8e55f316bcf49d64f6 to your computer and use it in GitHub Desktop.
// 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