diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-08-30 16:13:09 -0700 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-08-30 16:13:09 -0700 |
commit | 8bc8dcc094cd21daec639ff8db5ebb08dc5fe92f (patch) | |
tree | 7149a00207c31f1288f7ac1248fb359ddb6054fd /src/view/com/util/layouts/Breakpoints.tsx | |
parent | 3fa9b6daba1950c79a69cd0806627e38a30cac6b (diff) | |
download | voidsky-8bc8dcc094cd21daec639ff8db5ebb08dc5fe92f.tar.zst |
Simplify the RecommendedFeeds with breakpoint components
Diffstat (limited to 'src/view/com/util/layouts/Breakpoints.tsx')
-rw-r--r-- | src/view/com/util/layouts/Breakpoints.tsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/view/com/util/layouts/Breakpoints.tsx b/src/view/com/util/layouts/Breakpoints.tsx new file mode 100644 index 000000000..51c3ccd5a --- /dev/null +++ b/src/view/com/util/layouts/Breakpoints.tsx @@ -0,0 +1,8 @@ +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 |