fix types for breakpoints on mobile (#1342)

zio/stable
Ansh 2023-08-30 17:02:23 -07:00 committed by GitHub
parent f9cab178b9
commit a498acab6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -3,6 +3,9 @@ import React from 'react'
export const Desktop = ({}: React.PropsWithChildren<{}>) => null export const Desktop = ({}: React.PropsWithChildren<{}>) => null
export const TabletOrDesktop = ({}: React.PropsWithChildren<{}>) => null export const TabletOrDesktop = ({}: React.PropsWithChildren<{}>) => null
export const Tablet = ({}: React.PropsWithChildren<{}>) => null export const Tablet = ({}: React.PropsWithChildren<{}>) => null
export const TabletOrMobile = ({children}: React.PropsWithChildren<{}>) => export const TabletOrMobile = ({children}: React.PropsWithChildren<{}>) => (
children <>{children}</>
export const Mobile = ({children}: React.PropsWithChildren<{}>) => children )
export const Mobile = ({children}: React.PropsWithChildren<{}>) => (
<>{children}</>
)