-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Responsive Window Dimensions Lock (#665)
- Loading branch information
1 parent
c14f166
commit 0fd7dac
Showing
5 changed files
with
217 additions
and
108 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { IconProps, Icons } from '@/components/icons'; | ||
|
||
export interface SizePreset { | ||
name: string; | ||
width: number; | ||
height: number; | ||
icon: React.FC<IconProps>; | ||
} | ||
|
||
export const SIZE_PRESETS: SizePreset[] = [ | ||
{ name: 'Desktop', width: 1440, height: 1024, icon: Icons.Desktop }, | ||
{ name: 'Laptop', width: 1280, height: 832, icon: Icons.Laptop }, | ||
{ name: 'Mobile', width: 320, height: 568, icon: Icons.Mobile }, | ||
]; |
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
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
Oops, something went wrong.