about summary refs log tree commit diff
path: root/src/view/com/util/layouts/Breakpoints.web.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/com/util/layouts/Breakpoints.web.tsx')
-rw-r--r--src/view/com/util/layouts/Breakpoints.web.tsx20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/view/com/util/layouts/Breakpoints.web.tsx b/src/view/com/util/layouts/Breakpoints.web.tsx
deleted file mode 100644
index 5106e3e1f..000000000
--- a/src/view/com/util/layouts/Breakpoints.web.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-import React from 'react'
-import MediaQuery from 'react-responsive'
-
-export const Desktop = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery minWidth={1300}>{children}</MediaQuery>
-)
-export const TabletOrDesktop = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery minWidth={800}>{children}</MediaQuery>
-)
-export const Tablet = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery minWidth={800} maxWidth={1300 - 1}>
-    {children}
-  </MediaQuery>
-)
-export const TabletOrMobile = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery maxWidth={1300 - 1}>{children}</MediaQuery>
-)
-export const Mobile = ({children}: React.PropsWithChildren<{}>) => (
-  <MediaQuery maxWidth={800 - 1}>{children}</MediaQuery>
-)