fix types for breakpoints on mobile (#1342)
parent
f9cab178b9
commit
a498acab6e
|
@ -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}</>
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue