about summary refs log tree commit diff
path: root/src/view/com/util/layouts/Breakpoints.tsx
blob: 45dc236158a599832fb7f5c0d207b64a60c0b0c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import React from 'react'

export const Desktop = ({}: React.PropsWithChildren<{}>) => null
export const TabletOrDesktop = ({}: React.PropsWithChildren<{}>) => null
export const Tablet = ({}: React.PropsWithChildren<{}>) => null
export const TabletOrMobile = ({children}: React.PropsWithChildren<{}>) => (
  <>{children}</>
)
export const Mobile = ({children}: React.PropsWithChildren<{}>) => (
  <>{children}</>
)