Skip to content

Commit

Permalink
feat: add custom breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
migueloller committed Dec 29, 2024
1 parent af262f8 commit eeced75
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion core/lib/makeswift/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import { ReactRuntime } from '@makeswift/runtime/react';

export const runtime = new ReactRuntime();
export const runtime = new ReactRuntime({
breakpoints: {
small: { width: 640, viewport: 390, label: 'Small' },
medium: { width: 768, viewport: 765, label: 'Medium' },
large: { width: 1024, viewport: 1000, label: 'Large' },
screen: { width: 1280, label: 'XL' },
},
});

0 comments on commit eeced75

Please sign in to comment.