fix types for breakpoints on mobile (#1342)
This commit is contained in:
parent
f9cab178b9
commit
a498acab6e
1 changed files with 6 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue